diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-10-19 07:07:02 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-10-19 07:07:02 +0000 |
| commit | 63aa9df02fee88a559822c460ab5a30f1d8414ee (patch) | |
| tree | fedc607745a57e06a1a541feca62e18d51523ddb /man2/_exit.2 | |
| parent | e511ffb6bcaa9a584412a95e602435827e302033 (diff) | |
| download | man-pages-63aa9df02fee88a559822c460ab5a30f1d8414ee.tar.gz | |
Automated unformatting of parentheses using unformat_parens.sh
Diffstat (limited to 'man2/_exit.2')
| -rw-r--r-- | man2/_exit.2 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/man2/_exit.2 b/man2/_exit.2 index 74fc48cc37..15dc13c2c8 100644 --- a/man2/_exit.2 +++ b/man2/_exit.2 @@ -39,7 +39,7 @@ _exit, _Exit \- terminate the current process .BI "void _Exit(int " status ); .SH DESCRIPTION The function -.BR _exit() +.BR _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, @@ -56,38 +56,38 @@ can be collected using one of the family of calls. .LP The function -.B _Exit() +.BR _Exit () is equivalent to -.BR _exit() . +.BR _exit (). .SH "RETURN VALUE" These functions do not return. .SH "CONFORMING TO" SVr4, SVID, POSIX, X/OPEN, 4.3BSD. -The function \fB_Exit()\fP was introduced by C99. +The function \fB_Exit\fP() was introduced by C99. .SH NOTES For a discussion on the effects of an exit, the transmission of exit status, zombie processes, signals sent, etc., see .BR exit (3). .LP The function -.B _exit() -is like \fBexit()\fP, but does not call any +.BR _exit () +is like \fBexit\fP(), but does not call any functions registered with -.BR atexit() +.BR atexit () or -.BR on_exit() . +.BR on_exit (). Whether it flushes standard I/O buffers and removes temporary files created with .BR tmpfile (3) is implementation dependent. On the other hand, -.B _exit() +.BR _exit () does close open file descriptors, and this may cause an unknown delay, waiting for pending output to finish. If the delay is undesired, -it may be useful to call functions like \fItcflush()\fP before -calling \fB_exit()\fP. +it may be useful to call functions like \fItcflush\fP() before +calling \fB_exit\fP(). Whether any pending I/O is cancelled, and which pending I/O may be -cancelled upon \fB_exit()\fP, is implementation-dependent. +cancelled upon \fB_exit\fP(), is implementation-dependent. .SH "SEE ALSO" .BR execve (2), .BR fork (2), |
