xref: /original-bsd/lib/libc/stdlib/abort.3 (revision ba762ddc)
1.\" Copyright (c) 1990, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)abort.3	6.6 (Berkeley) 04/19/91
7.\"
8.Dd
9.Dt ABORT 3
10.Os
11.Sh NAME
12.Nm abort
13.Nd cause abnormal program termination
14.Sh SYNOPSIS
15.Fd #include <stdlib.h>
16.Ft void
17.Fn abort void
18.Sh DESCRIPTION
19The
20.Fn abort
21function causes abnormal program termination to occur, unless the
22signal
23.Dv SIGABRT
24is being caught and the signal handler does not return.
25.Pp
26No open streams are closed or flushed.
27.Sh RETURN VALUES
28The
29.Nm abort
30function
31never returns.
32.Sh SEE ALSO
33.Xr sigaction 2 ,
34.Xr exit 2
35.Sh STANDARDS
36The
37.Fn abort
38function
39conforms to
40.St -ansiC .
41