xref: /csrg-svn/lib/libc/stdlib/abort.3 (revision 61180)
1*61180Sbostic.\" Copyright (c) 1990, 1991, 1993
2*61180Sbostic.\"	The Regents of the University of California.  All rights reserved.
320280Smckusick.\"
450280Sbostic.\" This code is derived from software contributed to Berkeley by
550280Sbostic.\" the American National Standards Committee X3, on Information
650280Sbostic.\" Processing Systems.
750280Sbostic.\"
842103Sbostic.\" %sccs.include.redist.man%
942103Sbostic.\"
10*61180Sbostic.\"     @(#)abort.3	8.1 (Berkeley) 06/04/93
1142103Sbostic.\"
1248349Scael.Dd
1348349Scael.Dt ABORT 3
1448349Scael.Os
1548349Scael.Sh NAME
1648349Scael.Nm abort
1748349Scael.Nd cause abnormal program termination
1848349Scael.Sh SYNOPSIS
1948349Scael.Fd #include <stdlib.h>
2048349Scael.Ft void
2148349Scael.Fn abort void
2248349Scael.Sh DESCRIPTION
2342103SbosticThe
2448349Scael.Fn abort
2542103Sbosticfunction causes abnormal program termination to occur, unless the
2648349Scaelsignal
2748349Scael.Dv SIGABRT
2848349Scaelis being caught and the signal handler does not return.
2948349Scael.Pp
3042103SbosticNo open streams are closed or flushed.
3148349Scael.Sh RETURN VALUES
3248349ScaelThe
3348349Scael.Nm abort
3448349Scaelfunction
3548349Scaelnever returns.
3648349Scael.Sh SEE ALSO
3748349Scael.Xr sigaction 2 ,
3848349Scael.Xr exit 2
3948349Scael.Sh STANDARDS
4048349ScaelThe
4148349Scael.Fn abort
4248349Scaelfunction
4348349Scaelconforms to
4448349Scael.St -ansiC .
45