fork

Friday, September 17

The fork call

We discussed how the fork() system call works to create a new process.  The child process must look just like the parent process up to the point where a return from fork must be made.  The discussion was based on the following.

 

Consider this in conjunction with this program with a fork.