Question: A C program in UNIX environment is given below the questions. Consider that the system calls do not fail, function Fn Onever returns, Fn O


A C program in UNIX environment is given below the questions. Consider that the system calls do not fail, function Fn Onever returns, Fn O does not execute system calls, each new process inherits exactly the way signals are handled by the parent process, and finally system calls can be interrupted by incoming signals. Since Fn On never returns, the processes that the program creates come to a permanent state: the process tree remains stable forever and each processs is in a specific function or system call a) Answer briefly the following questions: l. What do the following calls do in UNIX: kill (pid, SIGSTOP) and signal (SIGINT, handler)? A C program in UNIX environment is given below the questions. Consider that the system calls do not fail, function Fn Onever returns, Fn O does not execute system calls, each new process inherits exactly the way signals are handled by the parent process, and finally system calls can be interrupted by incoming signals. Since Fn On never returns, the processes that the program creates come to a permanent state: the process tree remains stable forever and each processs is in a specific function or system call a) Answer briefly the following questions: l. What do the following calls do in UNIX: kill (pid, SIGSTOP) and signal (SIGINT, handler)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
