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

  man pages->Linux man pages -> _exit (2)              
Title
Content
Arch
Section
 

_EXIT(2)

Contents


NAME    [Toc]    [Back]

       _exit - terminate the current process

SYNOPSIS    [Toc]    [Back]

       #include <unistd.h>

       void _exit(int status);

DESCRIPTION    [Toc]    [Back]

       _exit  terminates  the  calling	process  immediately.  Any  open  file
       descriptors belonging to the process are closed; any  children  of  the
       process	are  inherited by process 1, init, and the process's parent is
       sent a SIGCHLD signal.

       status is returned to the parent process as the process's exit  status,
       and can be collected using one of the wait family of calls.

RETURN VALUE    [Toc]    [Back]

       _exit never returns.

CONFORMING TO    [Toc]    [Back]

       SVr4, SVID, POSIX, X/OPEN, BSD 4.3

NOTES    [Toc]    [Back]

       _exit  does  not  call  any functions registered with the ANSI C atexit
       function and does not flush standard I/O buffers. To do	these  things,
       use exit(3).

SEE ALSO    [Toc]    [Back]

      
      
       fork(2), execve(2), waitpid(2), wait4(2), kill(2), wait(2), exit(3)



Linux				  1993-07-21			      _EXIT(2)
[ Back ]
 Similar pages
Name OS Title
kill HP-UX send a signal to a process; terminate a process
_exit Tru64 Terminate a process
atexit Tru64 Terminate a process
exit IRIX terminate process
_exit HP-UX terminate process
exit HP-UX terminate process
exit Tru64 Terminate a process
kill FreeBSD terminate or signal a process
kill OpenBSD terminate or signal a process
_exit NetBSD terminate the calling process
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service