Namespaces
Variants
Views
Actions

Standard library header <csignal>

From cppreference.com
< cpp‎ | header

This header was originally in the C standard library as <signal.h>.

This header is part of the program support library.

Contents

Typedefs

the integer type that can be accessed as an atomic entity from an asynchronous signal handler
(typedef)

Macros

defines signal types
(macro constant) [edit]
defines signal handling strategies
(macro constant) [edit]
return value of signal specifying that an error was encountered
(macro constant) [edit]

Functions

sets a signal handler for particular signal
(function) [edit]
runs the signal handler for particular signal
(function) [edit]

[edit] Synopsis

namespace std {
  using sig_atomic_t = /* implementation-defined */;
  void (*signal(int sig, void (*func)(int)))(int);
  int raise(int sig);
}
 
#define SIG_DFL /* implementation-defined */
#define SIG_ERR /* implementation-defined */
#define SIG_IGN /* implementation-defined */
#define SIGABRT /* implementation-defined */
#define SIGFPE /* implementation-defined */
#define SIGILL /* implementation-defined */
#define SIGINT /* implementation-defined */
#define SIGSEGV /* implementation-defined */
#define SIGTERM /* implementation-defined */