Lecture 4 home work

Today we will continue with chapter 6 of Lions's book and (hopefully) finish it.

Assignment: main() on line 1627 calls newproc() to create a child process. Explain how it is possible that the parent returns "0" and the child returns "1" (be brief). Which line of code returns "1"? Hand in your answer at the beginning of lecture.