Question: Write a C program that performs the following tasks 1. The program should create a group. 2. The program should create three child processes
Write a C program that performs the following tasks 1. The program should create a group. 2. The program should create three child processes and add them to the group. 3. Each child process should display its PID and the group ID 4. The first child should display all the numbers even numbers between 0 and 100. 5. The second child should execute the command "Is -I-a" 6. The third child should display an echo message "CSE401: Operating Systems Lab Final". 7. The main program should display the message "All child processes have completed" and then exits. [2+3+3 +3+3+3=20]
Step by Step Solution
There are 3 Steps involved in it
Below is a simple C program that fulfills ... View full answer
Get step-by-step solutions from verified subject matter experts
