]> git.saurik.com Git - apple/libpthread.git/blobdiff - man/pthread_cond_broadcast.3
libpthread-416.11.1.tar.gz
[apple/libpthread.git] / man / pthread_cond_broadcast.3
index 279636dfca44801299575b6a1d9712a0b3a0a1f4..c45332876ea5a0291e5abe061258c18cbc10cc92 100644 (file)
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
 .\" 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
 .\"
 .Dd July 28, 1998
 .Dt PTHREAD_COND_BROADCAST 3
 .Nm pthread_cond_broadcast
 .Nd unblock all threads waiting for a condition variable
 .Sh SYNOPSIS
 .Nm pthread_cond_broadcast
 .Nd unblock all threads waiting for a condition variable
 .Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
 .Ft int
 .Fn pthread_cond_broadcast "pthread_cond_t *cond"
 .Sh DESCRIPTION
 The
 .Fn pthread_cond_broadcast
 .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
 .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
 to indicate the error.
 .Sh ERRORS
+The
 .Fn pthread_cond_broadcast
 .Fn pthread_cond_broadcast
-will fail if:
+function will fail if:
 .Bl -tag -width Er
 .It Bq Er EINVAL
 The value specified by
 .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
 .Xr pthread_cond_timedwait 3 ,
 .Xr pthread_cond_wait 3
 .Sh STANDARDS
+The
 .Fn pthread_cond_broadcast
 .Fn pthread_cond_broadcast
-conforms to
+function conforms to
 .St -p1003.1-96 .
 .St -p1003.1-96 .