docs/174581: man page of recvmsg(2) does not mention return value 0
Philip Withnall
prw35 at cam.ac.uk
Wed Dec 19 21:40:00 UTC 2012
>Number: 174581
>Category: docs
>Synopsis: man page of recvmsg(2) does not mention return value 0
>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: Wed Dec 19 21:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Philip Withnall
>Release: 9.1-RC3
>Organization:
>Environment:
FreeBSD philip-freebsd-box1 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The man page of recvmsg(2) does not mention that recvmsg() can legitimately return 0 in the case that the socket has closed and no received data is pending.
See the RETURN VALUE section in SUSv2: http://pubs.opengroup.org/onlinepubs/007908799/xns/recvmsg.html
>How-To-Repeat:
man recvmsg
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list