Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

abort - Abnormal program termination

&pagelevel(4)&pagelevel

Definition

#include <stdlib.h>

void abort(void); (not C11)
_Noreturn void abort(void); (C11)

abort triggers the SIGABRT signal.
If the program does not provide a routine for signal handling or if such a routine returns to the point of the interrupt, the program is aborted with _exit(-1).
Any termination routines registered with atexit or  at_quick_exit are not called and open files are not closed.

See also

atexit, at_quick_exit, exit, _exit, raise, signal