From nobody@FreeBSD.org  Wed Dec 19 21:32:27 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 576C6BE7
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Dec 2012 21:32:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D9828FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Dec 2012 21:32:27 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBJLWQAx047688
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Dec 2012 21:32:26 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBJLWQIX047687;
	Wed, 19 Dec 2012 21:32:26 GMT
	(envelope-from nobody)
Message-Id: <201212192132.qBJLWQIX047687@red.freebsd.org>
Date: Wed, 19 Dec 2012 21:32:26 GMT
From: Philip Withnall <prw35@cam.ac.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: man page of recvmsg(2) does not mention return value 0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

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