docs/176806: recv(2) man page grammatical fixes
Jeremy Chadwick
jdc at koitsu.org
Sun Mar 10 08:30:01 UTC 2013
>Number: 176806
>Category: docs
>Synopsis: recv(2) man page grammatical fixes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 10 08:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Chadwick
>Release: FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r247132: Thu Feb 21 19:15:34 PST 2013 root at icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64
>Description:
recv(2) has the following description for EAGAIN:
[EAGAIN] The socket is marked non-blocking, and the receive
operation would block, or a receive timeout had been
set, and the timeout expired before data were
received.
Improper use of commas make the sentence difficult to comprehend,
and the word "were" should be "was".
>How-To-Repeat:
n/a
>Fix:
Patch is below. Patch will also be available at the below URL
once I receive a PR number:
http://jdc.koitsu.org/freebsd/{prnum}/
--- lib/libc/sys/recv.2.orig 2013-03-10 00:13:36.199637447 -0800
+++ lib/libc/sys/recv.2 2013-03-10 00:14:48.123636848 -0800
@@ -319,10 +319,10 @@
closed, any pending data can be returned by another call to
.Fn recvmsg .
.It Bq Er EAGAIN
-The socket is marked non-blocking, and the receive operation
+The socket is marked non-blocking and the receive operation
would block, or
-a receive timeout had been set,
-and the timeout expired before data were received.
+a receive timeout had been set
+and the timeout expired before data was received.
.It Bq Er EINTR
The receive was interrupted by delivery of a signal before
any data were available.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list