]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread_detach.3
Libc-498.1.1.tar.gz
[apple/libc.git] / pthreads / pthread_detach.3
index 3608bc3cd5de7d97e406d82d42fda2b7fb52c911..f35495124f4f8294a0acab265f06a07e8bca3dff 100644 (file)
@@ -39,7 +39,9 @@
 .Sh SYNOPSIS
 .Fd #include <pthread.h>
 .Ft int
-.Fn pthread_detach "pthread_t thread"
+.Fo pthread_detach
+.Fa "pthread_t thread"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn pthread_detach
@@ -59,10 +61,10 @@ calls on the same target thread is unspecified.
 If successful,  the
 .Fn pthread_detach
 function will return zero.
-Otherwise an error number will be returned to
+Otherwise, an error number will be returned to
 indicate the error.
 Note that the function does not change the value
-of errno as it did for some drafts of the standard.
+of errno, as it did for some drafts of the standard.
 These early drafts
 also passed a pointer to pthread_t as the argument.
 Beware!