abort (3) manual page

Table of Contents


abort - cause abnormal program termination


#include <stdlib.h>

void abort(void);


The abort() function causes abnormal program termination unless the signal SIGABRT is caught and the signal handler does not return. If the abort() function causes program termination, all open streams are closed and flushed.

If the SIGABRT signal is blocked or ignored, the abort() function will still override it.

Return Value

The abort() function never returns.

Conforming to

SVr4, POSIX.1-2001, 4.3BSD, C99

See Also

sigaction(2) , exit(3) , raise(3)

Table of Contents