Please fill in the blanks. Each blank is worth 5 points.
signalonly allows one to set the ________handler________ for a specific signal, while
sigactionallows one to additionally specify the ________signal mask during handling________ and various other options. While
sigactionis part of the POSIX standard. This means that code that utilizes
sigactionis more likely to be ________portable________ among several operating systems.
SIGINTcorresponds to typing ________control-C________ on a keyboard. Signal
SIGKILLtells a process to die ________immediately/quickly/without cleanup________. In the C call kill(547,SIGKILL);
547is a ________process identifier________ while the type of the value
void handler(________int________);In passing that handler as a function argument, one declares the
sighandler_t signal(int signum, sighandler_t handler);In this,
sighandler_tis a ________typedef________ that represents "pointer to ________function________."
/proc), one uses the ________opendir________ and ________readdir________ system calls.