1.

The sig argument specifies the signal, which may be any signal except _______ and _________(a) SIG_DFL, SIG_IGN(b) SIGKILL, SIGSTOP(c) SIG_KILL, SIG_STOP(d) SIGCHLD, SIG_IGNThis question was posed to me in an interview for job.The query is from Signal Handling in section C Library of C

Answer»

The correct ANSWER is (b) SIGKILL, SIGSTOP

Explanation: The sigset() function is USED to MODIFY signal dispositions. The SIG argument specifies the signal, it can be any signal except SIGKILL and SIGSTOP.



Discussion

No Comment Found

Related InterviewSolutions