summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-02-15 03:33:14 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-02-15 03:33:14 +0000
commitcc5827b2eb01ff14eef84875040e0186756911ae (patch)
treee6a6beb213c6f8ac93e28aca8a95b409b22a09d1
parentfe96b21ac9cb39712d1f4eb5a695a8197fafbf52 (diff)
Fix some grammar and correct a manpage section
prodding and ok jmc@
-rw-r--r--share/man/man9/thread_fork.916
1 files changed, 6 insertions, 10 deletions
diff --git a/share/man/man9/thread_fork.9 b/share/man/man9/thread_fork.9
index 7d0e2991799..3305825291d 100644
--- a/share/man/man9/thread_fork.9
+++ b/share/man/man9/thread_fork.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: thread_fork.9,v 1.1 2017/02/12 04:55:08 guenther Exp $
+.\" $OpenBSD: thread_fork.9,v 1.2 2017/02/15 03:33:13 guenther Exp $
.\" $NetBSD: fork1.9,v 1.3 1999/03/16 00:40:47 garbled Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 12 2017 $
+.Dd $Mdocdate: February 15 2017 $
.Dt THREAD_FORK 9
.Os
.Sh NAME
@@ -61,7 +61,7 @@ which must not be
will be used as the initial value of the new thread's stack pointer.
.Pp
If
-.Fa tcb ,
+.Fa tcb
is not
.Dv NULL ,
it will be used as the initial address of the new thread's TCB
@@ -74,12 +74,8 @@ is not
the TID of the new thread will be copied out there on success.
This is guaranteed to be done before the new thread is started.
.Pp
-.Fa retval ,
-which must not be
-.Dv NULL ,
-the TID of the new thread will be stored in
-.Fa *retval
-on successful completion.
+On successful completion the TID of the new thread will be stored in
+.Fa *retval .
.Sh RETURN VALUES
Upon successful completion of the operation,
.Fn thread_fork
@@ -97,8 +93,8 @@ argument was
.Dv NULL .
.El
.Sh SEE ALSO
+.Xr __get_tcb 2 ,
.Xr fork 2 ,
-.Xr __get_tcb 3 ,
.Xr __tfork 3 ,
.Xr tfind 9
.Sh HISTORY