InterviewSolution
Saved Bookmarks
| 1. |
Which among the following POSIX signals generate events?(a) SIGDOWN(b) SIGFLOAT(c) SIGINT(d) SIGSHORT |
|
Answer» 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. |
|