summaryrefslogtreecommitdiff
path: root/lib/libc/sys/_exit.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
commit56f6529fc36c6db13ad6ff247464d6b0c9e0d023 (patch)
tree370910d2e05f30a3e4f78b5160a518c3222aa9f9 /lib/libc/sys/_exit.2
parent7e10459e58879c6c2e91c7f14687227390272c68 (diff)
- change references to nil to null; tschroed@acm.org
- remove trailing spaces from end of lines - add some .Dv - change -1 to \-1, so `-' is taken as a negative sign - other misc formatting fixes
Diffstat (limited to 'lib/libc/sys/_exit.2')
-rw-r--r--lib/libc/sys/_exit.221
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2
index 49b7e76554a..17d464b0208 100644
--- a/lib/libc/sys/_exit.2
+++ b/lib/libc/sys/_exit.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: _exit.2,v 1.6 1999/06/29 03:09:55 deraadt Exp $
+.\" $OpenBSD: _exit.2,v 1.7 1999/06/29 14:09:48 aaron Exp $
.\" $NetBSD: _exit.2,v 1.6 1995/02/27 12:31:34 cgd Exp $
.\"
.\" Copyright (c) 1980, 1993
@@ -52,8 +52,8 @@ terminates a process with the following consequences:
.Bl -bullet
.It
All of the descriptors open in the calling process are closed.
-This may entail delays, for example, waiting for output to drain;
-a process in this state may not be killed, as it is already dying.
+This may entail delays; for example, waiting for output to drain.
+A process in this state may not be killed, as it is already dying.
.It
If the parent process of the calling process has an outstanding
.Xr wait 2
@@ -62,12 +62,11 @@ or catches the
.Dv SIGCHLD
signal,
it is notified of the calling process's termination and
-the
-.Em status
+.Fa status
is set as defined by
.Xr wait 2 .
.It
-The parent process-ID of all of the calling process's existing child
+The parent process ID of all of the calling process's existing child
processes are set to 1; the initialization process
(see the DEFINITIONS section of
.Xr intro 2 )
@@ -75,16 +74,16 @@ inherits each of these processes.
.It
If the termination of the process causes any process group
to become orphaned (usually because the parents of all members
-of the group have now exited; see
-.Dq orphaned process group
+of the group have now exited, see
+.Dq Orphaned Process Group
in
.Xr intro 2 ) ,
and if any member of the orphaned group is stopped,
the
.Dv SIGHUP
-signal and the
+and
.Dv SIGCONT
-signal are sent to all members of the newly orphaned process group.
+signals are sent to all members of the newly orphaned process group.
.It
If the process is a controlling process (see
.Xr intro 2 ) ,
@@ -109,6 +108,6 @@ can never return.
.Xr exit 3
.Sh STANDARDS
The
-.Nm _exit
+.Fn _exit
function is defined by
.St -p1003.1-88 .