Lines 344-349
Link Here
|
344 |
*/ |
344 |
*/ |
345 |
sigIntAction.sa_handler = sigIntHandler; |
345 |
sigIntAction.sa_handler = sigIntHandler; |
346 |
sigaction (SIGINT, &sigIntAction, NULL); |
346 |
sigaction (SIGINT, &sigIntAction, NULL); |
|
|
347 |
sigaction (SIGTERM, &sigIntAction, NULL); |
347 |
|
348 |
|
348 |
sigChldAction.sa_handler = SIG_IGN; |
349 |
sigChldAction.sa_handler = SIG_IGN; |
349 |
sigaction (SIGCHLD, &sigChldAction, NULL); |
350 |
sigaction (SIGCHLD, &sigChldAction, NULL); |