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

FreeBSD Manual Pages

  
 
  

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

NAME
       abort --	cause abnormal program termination

LIBRARY
       Standard	C Library (libc, -lc)

SYNOPSIS
       #include	<stdlib.h>

       void
       abort(void);

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

       Any open	streams	are flushed and	closed.

IMPLEMENTATION NOTES
       The abort() function is thread-safe.  It	is unknown if it is async-can-
       cel-safe.

RETURN VALUES
       The abort() function never returns.

SEE ALSO
       abort2(2), sigaction(2),	exit(3)

STANDARDS
       The abort() function conforms to	ISO/IEC	9945-1:1990 ("POSIX.1").   The
       abort()	function  also	conforms to ISO/IEC 9899:1999 ("ISO C99") with
       the implementation specific details as noted above.

FreeBSD	14.3			 May 28, 2018			      ABORT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=abort&sektion=3&manpath=FreeBSD+14.3-RELEASE+and+Ports>

home | help