signal.h

Defines signal handling constants and types. Refer to the following tables.

  typedef sig_atomic_t; 
  
Table 1. Constants defined in signal.h
Constant Definition
SIG_DFL If passed as the second argument to signal, the default response is installed.
SIG_ERR Return value of signal(), if the handler could not be installed.
SIG_IGN If passed as the second argument to signal(), the signal is ignored.
Table 2. Signal Type Constants
Constant Definition
SIGABRT Abort program abnormally
SIGFPE Floating point error
SIGILL Illegal instruction
SIGINT Interrupt
SIGSEGV Segmentation violation
SIGTERM Terminate program normally