What Signals Are Available?

Different systems define different signals. The available signals and their names are defined in the header file

Note that signal.h is a header file of ANSI C. However, not all signals listed below are supported by the ANSI C standard.

Under Unix, all signal names start with SIG. The following are some examples:

A program can take action when a signal is generated. The actual action taken, however, depends on the current signal handler. Some signals can be ignored, while some other cannot (e.g., SIGKILL). When you want to handle a particular signal, a signal handler must be installed. Continue with the next page to learn the way of handling signals.