X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/f1a1da6cf65a9d0e6858678f6c259025cf5d27fd..c6e5f90c4dd303939f631da331df7b356da942e6:/man/pthread_cond_broadcast.3?ds=sidebyside diff --git a/man/pthread_cond_broadcast.3 b/man/pthread_cond_broadcast.3 index 279636d..c453328 100644 --- a/man/pthread_cond_broadcast.3 +++ b/man/pthread_cond_broadcast.3 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc_r/man/pthread_cond_broadcast.3,v 1.5.2.4 2001/08/17 15:42:51 ru Exp $ +.\" $FreeBSD$ .\" .Dd July 28, 1998 .Dt PTHREAD_COND_BROADCAST 3 @@ -34,23 +34,23 @@ .Nm pthread_cond_broadcast .Nd unblock all threads waiting for a condition variable .Sh SYNOPSIS -.Fd #include +.In pthread.h .Ft int .Fn pthread_cond_broadcast "pthread_cond_t *cond" .Sh DESCRIPTION The .Fn pthread_cond_broadcast -function unblocks all threads that are waiting for the condition variable +function unblocks all threads waiting for the condition variable .Fa cond . .Sh RETURN VALUES If successful, the .Fn pthread_cond_broadcast -function will return zero. -Otherwise, an error number will be returned +function will return zero, otherwise an error number will be returned to indicate the error. .Sh ERRORS +The .Fn pthread_cond_broadcast -will fail if: +function will fail if: .Bl -tag -width Er .It Bq Er EINVAL The value specified by @@ -64,6 +64,7 @@ is invalid. .Xr pthread_cond_timedwait 3 , .Xr pthread_cond_wait 3 .Sh STANDARDS +The .Fn pthread_cond_broadcast -conforms to +function conforms to .St -p1003.1-96 .