std::abort (3) - Linux Man Pages
Defined in header <cstdlib>
void abort(); (until C++11)
[[noreturn]] void abort() noexcept; (since C++11)
Causes abnormal program termination unless SIGABRT is being caught by a signal handler passed to std::signal and the handler does not return.
Destructors of variables with automatic,
(since C++11) and static storage_durations are not called. Functions registered with std::atexit()
(since C++11) are also not called. Whether open resources such as files are closed is implementation defined. An implementation defined status is returned to the host environment that indicates unsuccessful execution.
POSIX specifies that the abort() function overrides blocking or ignoring the SIGABRT signal.
// Run this code
quick_exit causes quick program termination without completely cleaning up
at_quick_exit registers a function to be called on quick_exit invocation