NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | NOTES | STANDARDS
$(NUCLEUS_DIR)/lib/classix/libsys.s.a #include <stdlib.h>void abort(void);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The abort() function causes abnormal program termination.
No open streams are closed or flushed.
In environments where signals are supported, the SIGABRT signal is produced first. The above processing takes place if and when the signal handler returns, or if the signal is ignored (the 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(). The application should deal with the possible consequences of this type of situation.
The abort() function conforms to ANSI-C.
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | NOTES | STANDARDS