summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrd <brd@FreeBSD.org>2006-02-16 09:56:31 +0000
committerbrd <brd@FreeBSD.org>2006-02-16 09:56:31 +0000
commitee6a29f33466b51768bf5381551929d9d01b7ff7 (patch)
tree71cfa2c6c98b16fde4839f757d9d3496219be38b
parent98d9669e851b7782878dd6bdc0ddaeec1b2afe4b (diff)
downloadFreeBSD-src-ee6a29f33466b51768bf5381551929d9d01b7ff7.zip
FreeBSD-src-ee6a29f33466b51768bf5381551929d9d01b7ff7.tar.gz
- Massage wording to make it easier to understand and fix some grammar.
Submitted by: sbahra at gwu dot edu Reviewed by: ru@ Approved by: ceri@ MFC after: 3 days
-rw-r--r--lib/libc/sys/recv.28
-rw-r--r--share/man/man3/pthread_cond_wait.34
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 3d89f4f..34ce5ea 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -32,7 +32,7 @@
.\" @(#)recv.2 8.3 (Berkeley) 2/21/94
.\" $FreeBSD$
.\"
-.Dd July 29, 2005
+.Dd February 16, 2006
.Dt RECV 2
.Os
.Sh NAME
@@ -98,12 +98,12 @@ the message is received from (see
.Pp
If no messages are available at the socket, the
receive call waits for a message to arrive, unless
-the socket is nonblocking (see
+the socket is non-blocking (see
.Xr fcntl 2 )
in which case the value
--1 is returned and the external variable
+\-1 is returned and the global variable
.Va errno
-set to
+is set to
.Er EAGAIN .
The receive calls normally return any data available,
up to the requested amount,
diff --git a/share/man/man3/pthread_cond_wait.3 b/share/man/man3/pthread_cond_wait.3
index e3c8340..773acfd 100644
--- a/share/man/man3/pthread_cond_wait.3
+++ b/share/man/man3/pthread_cond_wait.3
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 28, 1998
+.Dd February 16, 2006
.Dt PTHREAD_COND_WAIT 3
.Os
.Sh NAME
@@ -47,7 +47,7 @@ The
function atomically blocks the current thread waiting on the condition
variable specified by
.Fa cond ,
-and unblocks the mutex specified by
+and releases the mutex specified by
.Fa mutex .
The waiting thread unblocks only after another thread calls
.Xr pthread_cond_signal 3 ,
OpenPOWER on IntegriCloud