1 using fork and exec or clone create four child processes


1. Using Fork() and Exec() or Clone(), create four child processes. Load the same “Hello” program in each process after creation. This program should behave differently in each process.

2. Each process should run indefinitely until it is terminated by a command from the keyboard. Each process should print its own PID to the screen.

Run your program, capture its output and create one PDF file with source code and its output and upload through Blackboard. You can run it on Triton, CYGWIN, or any Linux system. The code should be written in C

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: 1 using fork and exec or clone create four child processes
Reference No:- TGS01486954

Now Priced at $15 (50% Discount)

Recommended (92%)

Rated (4.4/5)