minix/man/man3/abort.3
2005-05-02 13:01:42 +00:00

27 lines
570 B
Groff

.\" @(#)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).