0 votes
in JavaScript by
Which among the following POSIX signals generate events?

a) SIGDOWN

b) SIGFLOAT

c) SIGINT

d) SIGSHORT

1 Answer

0 votes
by

Answer:-  C

Reason: The SIGINT is a POSIX signal that generates event. A 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.

...