Loading...
--- Libc/Libc-498/pthreads/pthread_cond_timedwait.3
+++ Libc/Libc-391/pthreads/pthread_cond_timedwait.3
@@ -36,17 +36,13 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
-.Fo pthread_cond_timedwait
-.Fa "pthread_cond_t *restrict cond"
-.Fa "pthread_mutex_t *restrict mutex"
-.Fa "const struct timespec *restrict abstime"
-.Fc
+.Fn pthread_cond_timedwait "pthread_cond_t *cond" "pthread_mutex_t *mutex" "const struct timespec *abstime"
.Sh DESCRIPTION
The
.Fn pthread_cond_timedwait
function atomically blocks the current thread waiting on the condition
variable specified by
-.Fa cond
+.Fa cond ,
and unblocks the mutex specified by
.Fa mutex .
The waiting thread unblocks only after another thread calls
@@ -62,7 +58,7 @@
If successful, the
.Fn pthread_cond_timedwait
function will return zero.
-Otherwise, an error number will be returned to
+Otherwise an error number will be returned to
indicate the error.
.Sh ERRORS
.Fn pthread_cond_timedwait