Loading...
pthreads/pthread_cond_wait.3 Libc-583 Libc-262.3.2
--- Libc/Libc-583/pthreads/pthread_cond_wait.3
+++ Libc/Libc-262.3.2/pthreads/pthread_cond_wait.3
@@ -37,10 +37,7 @@
 .Sh SYNOPSIS
 .Fd #include <pthread.h>
 .Ft int
-.Fo pthread_cond_wait
-.Fa "pthread_cond_t *restrict cond"
-.Fa "pthread_mutex_t *restrict mutex"
-.Fc
+.Fn pthread_cond_wait "pthread_cond_t *cond" "pthread_mutex_t *mutex"
 .Sh DESCRIPTION
 The
 .Fn pthread_cond_wait
@@ -48,15 +45,13 @@
 .Fa mutex 
 argument and waits on the 
 .Fa cond
-argument. Before returning control to the calling function, 
-.Fn pthread_cond_wait 
-re-acquires the
-.Fa mutex.
+argument.
 .Sh RETURN VALUES
 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: