MAN page from Mandrake Other man-pages-gz-1.21-2.noarch.rpm
_EXIT
Section: Linux Programmer's Manual (2)
Updated: 21 July 1993
Index NAME
_exit - terminate the current process
SYNOPSIS
#include <unistd.h>void _exit(int status);
DESCRIPTION
_exitterminates the calling process immediately. Any open file descriptorsbelonging to the process are closed; any children of the process areinherited by process 1, init, and the process's parent is sent a
SIGCHLDsignal.
statusis returned to the parent process as the process's exit status, andcan be collected using one of thewaitfamily of calls.
RETURN VALUE
_exitnever returns.
CONFORMING TO
SVr4, SVID, POSIX, X/OPEN, BSD 4.3
NOTES
_exitdoes not call any functions registered with the ANSI C
atexitfunction and does not flush standard I/O buffers. To do these things,use
exit(3).
SEE ALSO
fork(2),
execve(2),
waitpid(2),
wait4(2),
kill(2),
wait(2),
exit(3)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- RETURN VALUE
- CONFORMING TO
- NOTES
- SEE ALSO
This document was created byman2html,using the manual pages.