For /dev/mem, map in memory to be copied to memory's own address space
[minix3.git] / man / man3 / abort.3
blobddce54a12982eeb1554db5cb9f3d970c4c8aa915
1 .\"     @(#)abort.3     6.3 (Berkeley) 5/27/86
2 .\"
3 .TH ABORT 3 "May 27, 1986"
4 .AT 3
5 .SH NAME
6 abort \- generate a fault
7 .SH SYNOPSIS
8 .nf
9 .ft B
10 #include <stdlib.h>
12 void abort(void)
13 .ft R
14 .fi
15 .SH DESCRIPTION
16 .B Abort
17 executes an instruction which is illegal in user mode.
18 This causes a signal that normally terminates
19 the process with a core dump, which may be used for debugging.
20 .SH SEE ALSO
21 .BR sigaction (2),
22 .BR exit (2).
23 .SH DIAGNOSTICS
24 Usually ``abort \- core dumped'' from the shell.
25 .SH BUGS
26 The abort() function does not flush standard I/O buffers.  Use
27 .BR fflush (3).