C Standard Library
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

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

TypesDescription
sig_atomic_t Integer type.

5