C Standard Library

C - <signal.h>

The C <signal.h> header defines functions, types and macros to handle signals. Some running environments use signals to inform running processes of certain events. These events may be related to errors performed by the program, like a wrong arithmetical operation or a exceptional situation, such as a request to interrupt the program. A signal can report some exceptional behavior within the program, or a signal can report some asynchronous event outside the program.

These functions, types and macros are available to use in a current program after including the header file using - #include <signal.h>. All functions, types and macros of this header file are listed below:

Library Types

sig_atomic_t Integer type.