Minix2.0/man/man3/abort.3

Compare this file to the similar file:
Show the results in this format:

.\"	@(#)abort.3	6.3 (Berkeley) 5/27/86
.\"
.TH ABORT 3 "May 27, 1986"
.AT 3
.SH NAME
abort \- generate a fault
.SH SYNOPSIS
.nf
.ft B
#include <stdlib.h>

void abort(void)
.ft R
.fi
.SH DESCRIPTION
.B Abort
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.
.SH SEE ALSO
.BR sigaction (2),
.BR exit (2).
.SH DIAGNOSTICS
Usually ``abort \- core dumped'' from the shell.
.SH BUGS
The abort() function does not flush standard I/O buffers.  Use
.BR fflush (3).