Question: Develop a small program in C using system calls (fork(), waitpid(), exit(), kill(),...) that does the following things: .a parent process creates a child process
Develop a small program in C using system calls (fork(), waitpid(), exit(), kill(),...) that does the following things:
.a parent process creates a child process that prints its PID the child creates a grandchild and sleeps 120 seconds the grandchild immediatly exits the parent sleeps for 60 seconds and then kills all the processes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
