abort(3) Library Functions Manual abort(3)
Name
abort - generate an illegal instruction fault
Syntax
#include <stdlib.h>
void abort()
Description
The subroutine executes an instruction which is illegal in user mode. This causes a signal that normally terminates the process with a
core dump, which may be used for debugging.
Diagnostics
Illegal instruction - core dumped
- Bourne shell.
Illegal instruction (core dumped)
- C shell.
Environment
When your program is compiled using the System V or POSIX environment, closes open files before aborting the process with an IOT fault.
Restrictions
The function does not flush standard I/O buffers. Use For further information, see
See Also
adb(1), exit(2), sigvec(2), fclose(3s)
abort(3)