From Cppreference
[edit] Program termination
The following functions manage program termination and resource cleanup.
|
|
causes abnormal program termination (without cleaning up) (function)
|
|
|
causes normal program termination with cleaning up (function)
|
|
|
causes normal program termination without completely cleaning up (function)
|
|
|
causes normal program termination without cleaning up (function)
|
|
|
registers a function to be called on exit() invocation (function)
|
|
|
registers a function to be called on quick_exit invocation (function)
|
Execution outcome indicators
|
|
|
indicates successful program execution (macro constant)
|
|
|
indicates unsuccessful program execution (macro constant)
|
[edit] Communicating with the environment
|
|
calls the host environment's command processor (function)
|
|
|
access to the list of environment variables (function)
|
[edit] Signals
Several functions and macro constants for signal management are provided.
|
|
sets a signal handler for particular signal (function)
|
|
|
runs the signal handler for particular signal (function)
|
Signal handling strategies
|
|
|
default signal handling (macro constant)
|
|
|
signal ignored (macro constant)
|
|
|
error was encountered (macro constant)
|
Signal types
|
|
|
abnormal termination (macro constant)
|
|
|
floating point exception (macro constant)
|
|
|
invalid instruction (macro constant)
|
|
|
interactive attention request sent to the program (macro constant)
|
|
|
invalid memory access (macro constant)
|
|
|
termination request sent to the program (macro constant)
|
[edit] Non-local jumps
|
|
saves the context (function)
|
|
|
jumps to specified location (function)
|
Types
|
|
|
execution context type (function)
|