QUICK_EXIT(3) | Library Functions Manual | QUICK_EXIT(3) |
quick_exit
— exits
a program quickly, running minimal cleanup
Standard C Library (libc, -lc)
#include
<stdlib.h>
_Noreturn void
quick_exit
(int
status);
The
quick_exit
()
function exits the program quickly calling any cleanup functions registered
with at_quick_exit(3) but not any C++ destructors or
cleanup code registered with atexit(3). The
stdio(3) file buffers are not flushed.
The function
quick_exit
()
is
async-signal
safe when the functions registered with
at_quick_exit(3) are.
The quick_exit
() function does not
return.
The quick_exit
() function conforms to
ISO/IEC 9899:2011
(“ISO C11”).
November 4, 2017 | Mac OS X 14 |