aboutsummaryrefslogtreecommitdiffstats
path: root/man2/_exit.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:07:02 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:07:02 +0000
commit63aa9df02fee88a559822c460ab5a30f1d8414ee (patch)
treefedc607745a57e06a1a541feca62e18d51523ddb /man2/_exit.2
parente511ffb6bcaa9a584412a95e602435827e302033 (diff)
downloadman-pages-63aa9df02fee88a559822c460ab5a30f1d8414ee.tar.gz
Automated unformatting of parentheses using unformat_parens.sh
Diffstat (limited to 'man2/_exit.2')
-rw-r--r--man2/_exit.224
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),