Which among the following POSIX signals generate events?
(a) SIGDOWN
(b) SIGFLOAT
(c) SIGINT
(d) SIGSHORT
(a) SIGDOWN
(b) SIGFLOAT
(c) SIGINT
(d) SIGSHORT
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The correct option is (c) SIGINT
The explanation is: The SIGINT is a POSIX signal that generates event. Simple code like below can do a proper clean up and exit on CTRL-C or SIGINT passed from command line / other application to the nodejs app’s ProcessID.