*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> abort (3)              
Title
Content
Arch
Section
 

ABORT(3)

Contents


NAME    [Toc]    [Back]

     abort -- cause abnormal program termination

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     void
     abort(void);

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     The abort() function is thread-safe.  It is unknown if it is async-cancel-safe.

RETURN VALUES    [Toc]    [Back]

     The abort() function never returns.

SEE ALSO    [Toc]    [Back]

      
      
     sigaction(2), exit(3)

STANDARDS    [Toc]    [Back]

     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 5.2.1			 June 4, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
abort IRIX generate an abnormal termination signal
atexit IRIX add program termination routine
exit Linux cause normal program termination
_Exit OpenBSD perform normal program termination
exit OpenBSD perform normal program termination
_Exit FreeBSD perform normal program termination
exit FreeBSD perform normal program termination
exit NetBSD perform normal program termination
atexit HP-UX register a function to be called at program termination
on_exit Linux register a function to be called at normal program termination.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service