Question: C program file Section 4 - Processes API Write a program that creates two more processes and gets as an input from command line an
Section 4 - Processes API Write a program that creates two more processes and gets as an input from command line an integer number N (N> 10). The first process prints the numbers [0, N/2) continuously (the process should never finish). The second process prints the numbers (N/2, N) continuously (the process should never finish). After 5 seconds the father should send a SIGKILL signal to the two children. Tip: Use the sleep function for delaying the father
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
