Red Hat Bugzilla – Bug 1278492
manpage for recv() should specify flags behaviour for recvfrom() and recvmsg()
Last modified: 2016-11-04 03:31:19 EDT
Description of problem:
The recv() manpage also covers recvfrom() and recvmsg(). Where it discusses
the "flags" argument (which is present in all three calls) it says:
"The flags argument to a recv() call"... and leaves the other two undefined.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Workstation release 7.2 Beta (Maipo)
Steps to Reproduce:
1. man recvmsg
"The flags argument to a recv() call"
"The flags argument"... is what the Fedora 22 manpage has; seems reasonable.
RHEL 4 had a separate manpage [ recvmsg(P) ] which pretty much follows the
Both have slightly conflicting information: The MSG_WAITALL/SOCK_STREAM
behaviour specified in the "flags" section says it waits for the complete
request - but later (2 paras., dealing with return value) says it returns
"as soon as" without making a MSG_WAITALL exception.
You have to assume the flag-specific behaviour takes precedence, but a lawyer
could easily argue the point.
Created attachment 1130819 [details]
This problem was already fixed by upstream man-pages commit 4dad515699179f21facd766b9247b955183cffc2 back in Feb 2014.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.