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 status values EXIT_SUCCESS and EXIT_FAILURE can be used to indicate successful and unsuccessful termination, respectively.

The quick_exit() function does not return.

at_quick_exit(3), exit(3)

The quick_exit() function conforms to ISO/IEC 9899:2011 (“ISO C11”).
July 26, 2015 NetBSD 9.0