- 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
This commit is contained in:
parent
cddfe5e9f6
commit
209462832d
@ -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,
|
||||
|
@ -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 ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user