summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthread_create.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3
index aa81588..4da26cf 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
OpenPOWER on IntegriCloud