From patchwork Mon Apr 28 16:17:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Bilka X-Patchwork-Id: 728 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx23.g.dreamhost.com (mx2.sub5.homie.mail.dreamhost.com [208.113.200.128]) by wilcox.dreamhost.com (Postfix) with ESMTP id 81C07360075 for ; Mon, 28 Apr 2014 09:17:28 -0700 (PDT) Received: by homiemail-mx23.g.dreamhost.com (Postfix, from userid 14307373) id 3253E632F4920; Mon, 28 Apr 2014 09:17:23 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx23.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx23.g.dreamhost.com (Postfix) with ESMTPS id 15264632F491F for ; Mon, 28 Apr 2014 09:17:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=nb5rudO+JL5w14lA5BixlOzAtGfzA XBjMNCNla+p0ERkYb0M6lIIV2NxvlI25aMnHnSHzAqUujQ0j8HWNa3RRnGOpPih/ fwNXgcfIjQs3nyQvTmXT8lVr5wUwscy+cTH8h77yZhDKrRahbn73S6L+k7Kt3/vI WAESTyoAUcLRUs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=X4qmV/cW1hJACWcIPPCAEXFnjvM=; b=J/A C8NJERNA95pFXOKDyEBX/Asl8uH2q3K+C4OSFX0qu1DmPM9YFAtRf8sXR4eBHG7q bXCbFJhCaFaBk69h/MbiLvewgM9M9aopxjyISpBFPrW/Cnd/PWEfSyQtpB1YWMiD 5sCZ6ZZzDwXviLmW+1nzmXuM9WTRFDhCG1bygNKU= Received: (qmail 22942 invoked by alias); 28 Apr 2014 16:17:21 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 22933 invoked by uid 89); 28 Apr 2014 16:17:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, SPF_NEUTRAL autolearn=no version=3.3.2 X-HELO: popelka.ms.mff.cuni.cz Date: Mon, 28 Apr 2014 18:17:16 +0200 From: =?utf-8?B?T25kxZllaiBCw61sa2E=?= To: libc-alpha@sourceware.org Subject: [COMMITED][BZ #16854] Fix recvmmsg comment. Message-ID: <20140428161716.GA27446@domone.podge> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-DH-Original-To: glibc@patchwork.siddhesh.in Hi, as recvmmsg returns number of messages received I fixed comment that said it returns number of bytes. Commited as obvious. [BZ #16854] * socket/sys/socket.h: Fix typo in comment. diff --git a/socket/sys/socket.h b/socket/sys/socket.h index c0f3ee6..95ee26a 100644 --- a/socket/sys/socket.h +++ b/socket/sys/socket.h @@ -203,7 +203,7 @@ extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); #ifdef __USE_GNU /* Receive up to VLEN messages as described by VMESSAGES from socket FD. - Returns the number of bytes read or -1 for errors. + Returns the number of messages received or -1 for errors. This function is a cancellation point and therefore not marked with __THROW. */