#include <signal.h>
Remarks
The sig argument must be one of the manifest constants listed below (defined in SIGNAL.H).
SIGABRT
Abnormal termination. The default action terminates the calling program with exit code 3.
SIGFPE
Floating-point error, such as overflow, division by zero, or invalid operation. The default action terminates the calling program.
SIGILL
Illegal instruction. The default action terminates the calling program.
SIGINT
CTRL+C interrupt. The default action issues INT 23H.
SIGSEGV
Illegal storage access. The default action terminates the calling program.
SIGTERM
Termination request sent to the program. The default action terminates the calling program.