References for Midterm 2
The focus of the second midterm is material since the first, but you are still expected to know all the previous information. Be guided by references to topics in web lecture summaries, assignments, in-lab exercises, sample programs, and both oral and written lecture material.
You should already be familiar with most of K&R.
1. Named Pipes
First-In First-Out Stevens/Rago 15.5
man mkfifo(1), mkfifo(3)
2. fork() and wait()
fork() Stevens/Rago 8.1 to 8.3
wait(), waitpid() Stevens/Rago 8.6 to 8.9
man wait(2)
3. exec() family
exit() Stevens/Rago 8.5, 7.1 - 7.3
exec() family Stevens/Rago 8.10
man exec(3)
4. miscellaneous
argc / argv / envp K&R 5.9 and 5.10
Stevens/Rago 7.4 to 7.9
system() Stevens/Rago 8.13 (normally for "clear" only)