pthread_create(3): minor markup tweaks
This commit is contained in:
parent
9f411f7283
commit
d13ac07234
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue