aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/man/pthread_create.35
-rw-r--r--lib/libpthread/man/pthread_create.35
-rw-r--r--share/man/man3/pthread_create.35
3 files changed, 9 insertions, 6 deletions
diff --git a/lib/libc_r/man/pthread_create.3 b/lib/libc_r/man/pthread_create.3
index aa8158802803..4da26cfff3ba 100644
--- a/lib/libc_r/man/pthread_create.3
+++ b/lib/libc_r/man/pthread_create.3
@@ -62,13 +62,14 @@ as its sole argument. If the
returns, the effect is as if there was an implicit call to
.Fn pthread_exit
using the return value of
-.Fa start_toutine
+.Fa start_routine
as the exit status. Note that the thread in which
.Fn main
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 using the return value of
+.Fn exit
+using the return value of
.Fn main
as the exit status.
.Pp
diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3
index aa8158802803..4da26cfff3ba 100644
--- a/lib/libpthread/man/pthread_create.3
+++ b/lib/libpthread/man/pthread_create.3
@@ -62,13 +62,14 @@ as its sole argument. If the
returns, the effect is as if there was an implicit call to
.Fn pthread_exit
using the return value of
-.Fa start_toutine
+.Fa start_routine
as the exit status. Note that the thread in which
.Fn main
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 using the return value of
+.Fn exit
+using the return value of
.Fn main
as the exit status.
.Pp
diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3
index aa8158802803..4da26cfff3ba 100644
--- a/share/man/man3/pthread_create.3
+++ b/share/man/man3/pthread_create.3
@@ -62,13 +62,14 @@ as its sole argument. If the
returns, the effect is as if there was an implicit call to
.Fn pthread_exit
using the return value of
-.Fa start_toutine
+.Fa start_routine
as the exit status. Note that the thread in which
.Fn main
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 using the return value of
+.Fn exit
+using the return value of
.Fn main
as the exit status.
.Pp