generate an abort fault
cc . . . -lc
void abort ()
The abort function
closes all open files, streams, and directory streams.
This is the same as
but instead of just exiting, abort
causes SIGABRT to be sent to the calling process.
is neither caught nor ignored, all
streams are flushed prior to the signal
being sent, and a core dump results.
is neither caught nor ignored,
and the current directory is writable,
a core dump is produced and the message
``abort - core dumped'' is written by the shell.
abort is conformant with:
X/Open Portability Guide, Issue 3, 1989
ANSI X3.159-1989 Programming Language -- C
IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C Language] (ISO/IEC 9945-1)
NIST FIPS 151-1
© 2003 System Services (S)
SCO OpenServer Release 5.0.7 -- 11 February 2003