diff options
author | 1999-09-22 22:03:59 +0000 | |
---|---|---|
committer | 1999-09-22 22:03:59 +0000 | |
commit | bb84f009e31563db221866f0712861f40bbd0ae2 (patch) | |
tree | f860824990ac04133a54c12fdb9e292c8f34782e /lib/libc/sys | |
parent | Add a RETURN VALUES section; fgsch@ (diff) | |
download | wireguard-openbsd-bb84f009e31563db221866f0712861f40bbd0ae2.tar.xz wireguard-openbsd-bb84f009e31563db221866f0712861f40bbd0ae2.zip |
Some misc fixes, one from fgsch@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/_exit.2 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2 index 77d6015572d..a59cf5f27d2 100644 --- a/lib/libc/sys/_exit.2 +++ b/lib/libc/sys/_exit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: _exit.2,v 1.8 1999/08/31 16:52:35 aaron Exp $ +.\" $OpenBSD: _exit.2,v 1.9 1999/09/22 22:03:59 aaron Exp $ .\" $NetBSD: _exit.2,v 1.6 1995/02/27 12:31:34 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -35,7 +35,7 @@ .\" @(#)_exit.2 8.1 (Berkeley) 6/4/93 .\" .Dd June 4, 1993 -.Dt EXIT 2 +.Dt _EXIT 2 .Os .Sh NAME .Nm _exit @@ -51,7 +51,7 @@ function terminates a process with the following consequences: .Bl -bullet .It -All of the descriptors open in the calling process are closed. +All open file descriptors 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. .It @@ -68,14 +68,16 @@ is set as defined by .It 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 +(see the +.Sx DEFINITIONS +section of .Xr intro 2 ) 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 +.Sx Orphaned Process Group in .Xr intro 2 ) , and if any member of the orphaned group is stopped, @@ -103,6 +105,7 @@ and then calls can never return. .Sh SEE ALSO .Xr fork 2 , +.Xr intro 2 , .Xr sigaction 2 , .Xr wait 2 , .Xr exit 3 |