| 1 | .\" Copyright (c) 1990 The Regents of the University of California. |
| 2 | .\" All rights reserved. |
| 3 | .\" |
| 4 | .\" %sccs.include.redist.man% |
| 5 | .\" |
| 6 | .\" @(#)abort.3 6.5 (Berkeley) %G% |
| 7 | .\" |
| 8 | .TH ABORT 3 "" |
| 9 | .AT 3 |
| 10 | .SH NAME |
| 11 | abort \- cause abnormal program termination |
| 12 | .SH SYNOPSIS |
| 13 | .nf |
| 14 | .ft B |
| 15 | #include <stdlib.h> |
| 16 | |
| 17 | void |
| 18 | abort(void); |
| 19 | .ft R |
| 20 | .fi |
| 21 | .SH DESCRIPTION |
| 22 | The |
| 23 | .I abort |
| 24 | function causes abnormal program termination to occur, unless the |
| 25 | signal SIGABRT is being caught and the signal handler does not return. |
| 26 | .PP |
| 27 | No open streams are closed or flushed. |
| 28 | .SH SEE ALSO |
| 29 | sigvec(2), exit(2) |
| 30 | .SH STANDARDS |
| 31 | .B Abort |
| 32 | conforms to ANSI X3.159-1989 (``ANSI C''). |