NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | NOTES | STANDARDS
#include <stdlib.h>void abort(void);
The abort function causes abnormal program termination to occur.
No open streams are closed or flushed.
In environments where signals are supported, the signal SIGABRT is first produced. The above processing takes place if and when the signal handler returns, or if the signal is ignored (default setting of this signal).
The abort function never returns.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
Nothing prevents concurrent invocations of abort. It is up to the application to deal with the possible consequences of this type of situation.
The abort function conforms to ANSI-C.
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | NOTES | STANDARDS