Penguin

Differences between current version and previous revision of exit(2).

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Thursday, October 31, 2002 6:07:02 pm by PerryLorier
Older page: version 2 Last edited on Tuesday, June 4, 2002 12:23:40 am by perry Revert
@@ -1,56 +1,29 @@
-_EXIT  
-!!!_EXIT  
-NAME  
-SYNOPSIS  
-DESCRIPTION  
-RETURN VALUE  
-CONFORMING TO  
-NOTES  
-SEE ALSO  
-----  
 !!NAME 
-  
  
 _exit - terminate the current process 
+  
 !!SYNOPSIS 
+ __#include <unistd.h>__  
  
  
-__#include __ 
+ __void _exit(int__ ''status''__); __ 
  
-  
-__void _exit(int__ ''status''__);__  
 !!DESCRIPTION 
  
+___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.  
  
-___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
  
-  
-''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 
  
+___exit__ never returns.  
  
-___exit__ never returns.  
 !!CONFORMING TO 
+SVr4, SVID, POSIX, X/OPEN, BSD 4.3  
  
-  
-SVr4, SVID, POSIX, X/OPEN, BSD 4.3  
 !!NOTES 
+___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).  
  
-  
-___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 
  
-  
- fork(2), execve(2), waitpid(2),  
- wait4(2), kill(2), wait(2),  
- exit(3)  
-----  
+fork(2), execve(2), waitpid(2), wait4(2), kill(2), wait(2), exit(3) 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.