Which of the POSIX signals below causes events to occur?
A. SIGSHORT is an acronym for "Short
B. SIGNIFICANCE
C. SIGFLOAT is an acronym that stands for .
D. SIGDOWN
Answer:B
Which of the POSIX signals below causes events to occur?
A. SIGSHORT is an acronym for "Short B. SIGNIFICANCE C. SIGFLOAT is an acronym that stands for . D. SIGDOWN
Explanation: The SIGINT signal is a POSIX event generator. On CTRL-C or SIGINT delivered from the command line / other application to the node js app's ProcessID, simple code like the one below can clean up and exit properly.cleanup() process.exit(1)); process.on('SIGINT', function() console.log('SIGINT');