ABORT(3) | Library Functions Manual | ABORT(3) |
abort
— cause
abnormal program termination
Standard C Library (libc, -lc)
#include
<stdlib.h>
void
abort
(void);
The
abort
()
function causes abnormal program termination to occur, unless the signal
SIGABRT
is being caught and the signal handler does
not return.
Any open streams are flushed and closed.
The abort
() function is thread-safe. It is
unknown if it is async-cancel-safe.
The abort
() function causes a report to be
generated by Crash Reporter. If you wish to terminate without generating a
crash report, use exit(3) instead.
The abort
() function never returns.
The abort
() function conforms to
IEEE Std 1003.1-1990 (“POSIX.1”). The
abort
() function also conforms to
ISO/IEC 9899:1999 (“ISO C99”)
with the implementation specific details as noted above.
June 4, 1993 | Mac OS X 12 |