Signal handling [Archive] - C Board

PDA

View Full Version : Signal handling


quagsire
07-08-2002, 01:30 AM
Is there any way to ignore signal 9 and 17 (SIGTERM and SIGSTOP) in a program?

If not is it possible for the program to log this signals before exiting ?

All help appreciated.

shaik786
07-08-2002, 07:54 AM
SIGSTOP and SIGKILL are two signals that can not be caught/ignored by applications. The rest can be handled, including SIGTERM.