xref: /csrg-svn/lib/libc/stdlib/abort.3 (revision 48349)
1*48349Scael.\" Copyright (c) 1990, 1991 The Regents of the University of California.
242103Sbostic.\" All rights reserved.
320280Smckusick.\"
442103Sbostic.\" %sccs.include.redist.man%
542103Sbostic.\"
6*48349Scael.\"     @(#)abort.3	6.6 (Berkeley) 04/19/91
742103Sbostic.\"
8*48349Scael.Dd
9*48349Scael.Dt ABORT 3
10*48349Scael.Os
11*48349Scael.Sh NAME
12*48349Scael.Nm abort
13*48349Scael.Nd cause abnormal program termination
14*48349Scael.Sh SYNOPSIS
15*48349Scael.Fd #include <stdlib.h>
16*48349Scael.Ft void
17*48349Scael.Fn abort void
18*48349Scael.Sh DESCRIPTION
1942103SbosticThe
20*48349Scael.Fn abort
2142103Sbosticfunction causes abnormal program termination to occur, unless the
22*48349Scaelsignal
23*48349Scael.Dv SIGABRT
24*48349Scaelis being caught and the signal handler does not return.
25*48349Scael.Pp
2642103SbosticNo open streams are closed or flushed.
27*48349Scael.Sh RETURN VALUES
28*48349ScaelThe
29*48349Scael.Nm abort
30*48349Scaelfunction
31*48349Scaelnever returns.
32*48349Scael.Sh SEE ALSO
33*48349Scael.Xr sigaction 2 ,
34*48349Scael.Xr exit 2
35*48349Scael.Sh STANDARDS
36*48349ScaelThe
37*48349Scael.Fn abort
38*48349Scaelfunction
39*48349Scaelconforms to
40*48349Scael.St -ansiC .
41