next up previous
Next: Lots of processes

Assignment 3: Forking Processes

The purpose of this assignment is to get you to play around with fork and exec, and to try out a small experimental design.

1.
Pick up the fork program from the following URL and examine it closely.

http://rocky.colby.edu/cs357/code/hw3/fork.c

2.
Write a Makefile for the program, based on the Makefile from the previous assignment. On the web page you will find a handout about gmake, which is the GNU version of make.

http://rocky.colby.edu/cs357/handouts/gmake.ps

3.
Compile and run the program. Make sure your output at least resembles the output in the comment.



 

Allen Downey
2000-02-24