abort3
Cause abnormal program termination
Usage
#include <stdlib.h>
void
abort(void);
Library
Standard C Library (libc, -lc)
Overview
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.
Implementation notes
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.
Return values
The abort() function never returns.
Releases
163 releases since Mac OS X 10.0; the text changed 2 times.