Homework 3: Using Unix System Services

This homework (Hints) is given February 14 and is due March 3 by 5pm.

This homework requires you to use Unix system services. Look up the Stevens book and its code to see how these system services work.

Your program generates three children. Thus we have the following processes PARENT, CHILD1, CHILD2, and CHILD3.
Your program is called with as parameters the names of six text files, say, fn1, fn2, fn3, fn4, fn5, fn6.
Fn1 and fn2 already exist. Fn3 and fn4 are created by the second process (first child). Fn5 and fn6 are created by the third process (second child).

PARENT:

CHILD1:

CHILD2:

CHILD3:

As comment in your program explain:

ingargiola@cis.temple.edu