Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread pthread_create(3): minor markup tweaks



details:   https://anonhg.NetBSD.org/src/rev/d522870f889f
branches:  trunk
changeset: 374520:d522870f889f
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Apr 29 21:37:07 2023 +0000

description:
pthread_create(3): minor markup tweaks

diffstat:

 lib/libpthread/pthread_create.3 |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 6f5de4b97f24 -r d522870f889f lib/libpthread/pthread_create.3
--- a/lib/libpthread/pthread_create.3   Sat Apr 29 20:51:45 2023 +0000
+++ b/lib/libpthread/pthread_create.3   Sat Apr 29 21:37:07 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_create.3,v 1.8 2023/04/29 20:51:45 jschauma Exp $
+.\" $NetBSD: pthread_create.3,v 1.9 2023/04/29 21:37:07 uwe Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -64,8 +64,15 @@
 .Lb libpthread
 .Sh SYNOPSIS
 .In pthread.h
+.
 .Ft int
-.Fn pthread_create "pthread_t * restrict thread" "const pthread_attr_t * restrict attr" "void *(*start_routine)(void *)" "void * restrict arg"
+.Fo pthread_create
+.Fa "pthread_t * restrict thread"
+.Fa "const pthread_attr_t * restrict attr"
+.Fa "void *(*start_routine)(void *)"
+.Fa "void * restrict arg"
+.Fc
+.
 .Sh DESCRIPTION
 The
 .Fn pthread_create
@@ -103,7 +110,7 @@ as its sole argument.
 If the
 .Fa start_routine
 returns, the effect is as if there was an implicit call to
-.Fn pthread_exit
+.Xr pthread_exit 3
 using the return value of
 .Fa start_routine
 as the exit status.
@@ -113,7 +120,7 @@ was originally invoked differs from this
 When it returns from
 .Fn main ,
 the effect is as if there was an implicit call to
-.Fn exit
+.Xr exit 3
 using the return value of
 .Fn main
 as the exit status.



Home | Main Index | Thread Index | Old Index