Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 21:32:26 GMT
From:      Philip Withnall <prw35@cam.ac.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/174581: man page of recvmsg(2) does not mention return value 0
Message-ID:  <201212192132.qBJLWQIX047687@red.freebsd.org>
Resent-Message-ID: <201212192140.qBJLe0Uw009249@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212192132.qBJLWQIX047687>