Question: Write a C program where the parent process creates a child process. The parent process sends a SIGUSR 2 signal to the child process after
Write a C program where the parent process creates a child process. The parent process sends a SIGUSR signal to the child process after a delay of seconds. The child process handles this signal by printing "Signal received from parent". What is the expected output of the program? Describe how the parent process communicates with the child process using signals.
Marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
