Defined in header
[[noreturn]] void abort();
Causes abnormal program termination unless Template:rlpt is being caught by a signal handler passed to signal and the handler does not return.
Destructors of variables with automatic, thread local and static storage durations are not called. Functions, passed to Template:rlpf are also not called. Whether open resources such as files are closed is implementation defined. Implementation defined status is returned to the host environment that indicates unsuccessful execution.
|This section is incomplete|
Reason: no example
| causes normal program termination with cleaning up |
| registers a function to be called on std::exit() invocation |
| causes normal program termination without completely cleaning up |
C documentation for abort