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

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

abort(3)

Contents


NAME    [Toc]    [Back]

       abort  -  Generates  a  software signal to end the current
       process

SYNOPSIS    [Toc]    [Back]

       #include <stdlib.h>

       void abort(
               void );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       abort():  ISO C, POSIX.1, XPG4, XPG4-UNIX

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       The abort() function sends a SIGABRT signal to the current
       process. This signal terminates the process unless both of
       the following conditions are true: (1) signal  SIGABRT  is
       being  caught,  and  (2)  the signal handler does not do a
       normal return, for example, if it does a longjmp.

       If abort() causes the process to terminate abnormally  and
       the  current  directory  is writable, the system creates a
       core file in the current working directory.

       If the call to the abort() function  terminates  the  process,
  each  open stream and message catalog descriptor is
       affected as if  the  fclose()  function  was  called.  The
       abort() function then terminates the process with the same
       result as the _exit() function, with the exception of  the
       status  value  made  available  to the wait() or waitpid()
       function. These functions receive the status value of  the
       process  terminated  by  the  SIGABRT  signal. The abort()
       function overrides blocking or  ignoring  of  the  SIGABRT
       signal.

NOTES    [Toc]    [Back]

       The  abort()  function  is  supported  for  multi-threaded
       applications.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: exit(2), kill(2), sigaction(2)

       Standards: standards(5)



                                                         abort(3)
[ Back ]
 Similar pages
Name OS Title
raise FreeBSD send a signal to the current process
raise OpenBSD send a signal to the current process
raise Linux send a signal to the current process
raise NetBSD send a signal to the current process
sigaction NetBSD software signal facilities
gsignal_r Tru64 Set and raise a software signal
sigvec OpenBSD software signal facilities
sigvec FreeBSD software signal facilities
ssignal_r Tru64 Set and raise a software signal
ssignal Tru64 Set and raise a software signal
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service