summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-09-27 02:00:13 +0000
committeraaron <aaron@openbsd.org>1999-09-27 02:00:13 +0000
commit9be40727f39a14e4929f922e3a97085e81158f88 (patch)
tree113ff35496989b37dbe54e9bfe0c55b76a6b4d17 /lib
parentFix a display nit in scrollback code. (diff)
downloadwireguard-openbsd-9be40727f39a14e4929f922e3a97085e81158f88.tar.xz
wireguard-openbsd-9be40727f39a14e4929f922e3a97085e81158f88.zip
Formatting and grammar.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/siginterrupt.34
-rw-r--r--lib/libc/stdlib/rand48.34
-rw-r--r--lib/libc/sys/vfork.234
3 files changed, 21 insertions, 21 deletions
diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3
index 048310350c8..f4b204b971e 100644
--- a/lib/libc/gen/siginterrupt.3
+++ b/lib/libc/gen/siginterrupt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: siginterrupt.3,v 1.8 1999/07/09 13:35:18 aaron Exp $
+.\" $OpenBSD: siginterrupt.3,v 1.9 1999/09/27 02:00:13 aaron Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -104,7 +104,7 @@ specified.
.Xr sigaction 2 ,
.Xr sigblock 3 ,
.Xr sigpause 3 ,
-.Xr sigsetmask 3 .
+.Xr sigsetmask 3
.Sh HISTORY
The
.Fn siginterrupt
diff --git a/lib/libc/stdlib/rand48.3 b/lib/libc/stdlib/rand48.3
index f1615027da6..3d8d53862d4 100644
--- a/lib/libc/stdlib/rand48.3
+++ b/lib/libc/stdlib/rand48.3
@@ -9,7 +9,7 @@
.\" of any kind. I shall in no event be liable for anything that happens
.\" to anyone/anything when using this software.
.\"
-.\" $OpenBSD: rand48.3,v 1.5 1999/06/29 18:36:22 aaron Exp $
+.\" $OpenBSD: rand48.3,v 1.6 1999/09/27 02:00:13 aaron Exp $
.\"
.Dd October 8, 1993
.Dt RAND48 3
@@ -158,4 +158,4 @@ Martin Birgmeier
.Sh SEE ALSO
.Xr arc4random 3 ,
.Xr rand 3 ,
-.Xr random 3 .
+.Xr random 3
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index 1b83bb110c8..351a2f3324f 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vfork.2,v 1.11 1999/06/29 14:10:28 aaron Exp $
+.\" $OpenBSD: vfork.2,v 1.12 1999/09/27 02:00:13 aaron Exp $
.\" $NetBSD: vfork.2,v 1.8 1997/07/10 07:54:13 mikel Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -51,32 +51,37 @@ space of the old process, which is horrendously inefficient in a paged
environment. It was useful when the purpose of
.Xr fork 2
would have been to create a new system context for an
-.Xr execve .
-It is the case that
-.Xr fork
-is now efficient, even in the above case, so that the need for
+.Xr execve 2 .
+Since
+.Xr fork 2
+is now efficient, even in the above case, the need for
.Fn vfork
-is diminished.
+has diminished.
.Fn vfork
differs from
-.Xr fork
+.Xr fork 2
in that the parent is suspended until the child makes a call to
.Xr execve 2
or an exit (either by a call to
.Xr _exit 2
-or abnormally.)
+or abnormally).
.Pp
.Fn vfork
-returns 0 in the child's context and (later) the pid of the child in
+returns 0 in the child's context and (later) the PID of the child in
the parent's context.
+.Sh RETURN VALUES
+Same as for
+.Xr fork 2 .
.Sh SEE ALSO
.Xr execve 2 ,
.Xr fork 2 ,
.Xr sigaction 2 ,
.Xr wait 2
-.Sh RETURN VALUES
-Same as for
-.Xr fork 2 .
+.Sh HISTORY
+The
+.Fn vfork
+function call appeared in
+.Bx 2.9 .
.Sh BUGS
To avoid a possible deadlock situation,
processes that are children in the middle
@@ -92,8 +97,3 @@ output or
calls
are allowed
and input attempts result in an end-of-file indication.
-.Sh HISTORY
-The
-.Fn vfork
-function call appeared in
-.Bx 2.9 .