Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ABORT(3)	       FreeBSD Library Functions Manual		      ABORT(3)

NAME
     abort -- cause abnormal program termination

SYNOPSIS
     #include <stdlib.h>

     void
     abort(void);

DESCRIPTION
     The abort() function causes abnormal program termination to occur,	unless
     the signal	SIGABRT	is being caught	and the	signal handler does not	re-
     turn.

     Some implementations may flush output streams before terminating.	This
     implementation does not.

RETURN VALUES
     The abort() function never	returns.

SEE ALSO
     sigaction(2), exit(3)

STANDARDS
     The abort() function conforms to ISO/IEC 9945-1:1990 ("POSIX.1").

HISTORY
     The abort() function first	appeared in Version 5 AT&T UNIX.

     Historically, previous standards required abort() to flush	and close out-
     put streams, but this conflicted with the requirement that	abort()	be
     async signal safe.	 As a result, the flushing requirement was dropped.

FreeBSD	13.0			 May 14, 2014			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | STANDARDS | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=abort&sektion=3&manpath=OpenBSD+6.9>

home | help