std::abort
From cppreference.com
Defined in header <cstdlib>
|
||
[[noreturn]] void abort(); |
(since C++11) | |
void abort(); |
(until C++11) | |
Causes abnormal program termination unless SIGABRT 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 atexit() 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.
Contents |
[edit] Parameters
(none)
[edit] Return value
(none)
[edit] Exceptions
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
causes normal program termination with cleaning up (function) | |
registers a function to be called on exit() invocation (function) | |
(C++11) |
causes normal program termination without completely cleaning up (function) |
C documentation for abort
|