]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread_cond_wait.3
Libc-498.1.1.tar.gz
[apple/libc.git] / pthreads / pthread_cond_wait.3
index d64c49e2d048863ad138141ee67ab062f7e6a675..6aebfc1249adcb774d74f39fc80b62288dd1e2a7 100644 (file)
 .Sh SYNOPSIS
 .Fd #include <pthread.h>
 .Ft int
-.Fn pthread_cond_wait "pthread_cond_t *cond" "pthread_mutex_t *mutex"
+.Fo pthread_cond_wait
+.Fa "pthread_cond_t *restrict cond"
+.Fa "pthread_mutex_t *restrict mutex"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn pthread_cond_wait
@@ -50,8 +53,7 @@ argument.
 If successful, the
 .Fn pthread_cond_wait
 function will return zero.
-Otherwise an error number will be returned to
-indicate the error.
+Otherwise, an error number will be returned to indicate the error.
 .Sh ERRORS
 .Fn pthread_cond_wait
 will fail if: