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: =?utf-8?b?T25kxZllaiBCw61sa2E=?= X-Patchwork-Id: 343486 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 ozlabs.org (Postfix) with ESMTPS id E7FD81400A8 for ; Tue, 29 Apr 2014 02:17:26 +1000 (EST) 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=KPNQIS1oew5Y7Hb4EJ+ja6OK0ehMh H2dWyhGfg5ej4W0SUxwauSGpDwaypDjgm1tZoFiEg8XUBXMcZbzwb0hj5ZMb208+ g1f6Tz6HBUnqysbO+jb3LBPWCuyRUDlIONSFWyuVZr6HTpUHAdtQfvPX9ymmdTii kZzy3ACTdIfDoA= 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=nKU if8ETqktIxBK+XfmS2VPFMuGoR6HMfPghmOMkmEQY2XvdhhioAhdNQEyDfeJ/Zfz tUh9meSloGhOghKgUWbAm1MyssaTgt/pGPlmpqWSgsSLcZswnY1Avt1qnLcbN871 zy/KjZLMEEG7xwE7vyMO1cwFSzXjQmvz4cGUuXWc= 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) 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. */