Question: Develop a program that uses system call int kill(pid_t pid, int sig) to deliver signal SIGINT and signal SIGHQUIT. Provide pid_t pid from command line
-
Develop a program that uses system call int kill(pid_t pid, int sig) to deliver signal SIGINT and signal SIGHQUIT. Provide pid_t pid from command line to the program. Let the process sleep 3 seconds between delivering signal SIGINT and signal SIGHQUIT. Then run Program Example 4.4 at the end of Lecture 4 as a background job. Use your program to deliver signal SIGINT and signal SIGHQUIT to the process of Program Example 4.4.
Example 4.4 given ..
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
