ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



ABORT(3)                 BSD 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, unless 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-cancel-safe.

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'').  The abort() function also conforms
     to ISO/IEC 9899:1999 (``ISO C99'') with the implementation specific details as noted above.

BSD                              June 4, 1993                              BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.