Facebook Page Twitter Page LinkedIn Page
× C++ Standard Library C++ STL Library

The C++ <csignal> 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 <csignal> or #include <signal.h>. All functions, types and macros of this header file are listed below:

Library Types

sig_atomic_t Integer type.