From owner-freebsd-doc@FreeBSD.ORG Wed Dec 19 21:40:00 2012 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2456D29 for ; Wed, 19 Dec 2012 21:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 97D568FC12 for ; Wed, 19 Dec 2012 21:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBJLe0eo009250 for ; Wed, 19 Dec 2012 21:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBJLe0Uw009249; Wed, 19 Dec 2012 21:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 19 Dec 2012 21:40:00 GMT Resent-Message-Id: <201212192140.qBJLe0Uw009249@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Philip Withnall Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 576C6BE7 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/174581: man page of recvmsg(2) does not mention return value 0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 21:40:00 -0000 >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: