On this page
SIGTERM, SIGSEGV, SIGINT, SIGILL, SIGABRT, SIGFPE
Defined in header <csignal> |
||
---|---|---|
|
||
|
||
|
||
|
||
|
||
|
Each of the above macro constants expands to an integer constant expression with distinct values, which represent different signals sent to the program.
Constant | Explanation |
---|---|
SIGTERM |
termination request, sent to the program |
SIGSEGV |
invalid memory access (segmentation fault) |
SIGINT |
external interrupt, usually initiated by the user |
SIGILL |
invalid program image, such as invalid instruction |
SIGABRT |
abnormal termination condition, as is e.g. initiated by std::abort() |
SIGFPE |
erroneous arithmetic operation such as divide by zero |
Notes
Additional signal names are specified by POSIX.
See also
sets a signal handler for particular signal (function) |
|
runs the signal handler for particular signal (function) |
|
C documentation for signal types |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/program/SIG_types