ABORT(3)ABORT(3)NAMEabort - generate a fault
SYNOPSIS
#include <stdlib.h>
void abort(void);
DESCRIPTION
Abort executes an instruction which is illegal in user mode. This
generates a SIGABRT signal that normally terminates the process with a
core dump, which may be used for debugging.
The abort() function flushes standard I/O buffers before process
termination.
SEE ALSOsigvec(2), exit(2)DIAGNOSTICS
Usually “Illegal instruction - core dumped” from the shell.
BUGS
The BSD implementation of abort doesn't flush standard I/O buffers. Use
fflush(3S) before calling abort.
7th Edition August 1, 1992 ABORT(3)