From patchwork Fri Feb 8 13:32:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees van Reeuwijk X-Patchwork-Id: 219151 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 815DA2C0089 for ; Sat, 9 Feb 2013 00:34:45 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946152Ab3BHNel (ORCPT ); Fri, 8 Feb 2013 08:34:41 -0500 Received: from mail-we0-f173.google.com ([74.125.82.173]:33887 "EHLO mail-we0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946057Ab3BHNek (ORCPT ); Fri, 8 Feb 2013 08:34:40 -0500 Received: by mail-we0-f173.google.com with SMTP id r5so3018045wey.18 for ; Fri, 08 Feb 2013 05:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:to:subject:user-agent:mime-version :content-type:content-transfer-encoding:from; bh=WMe4eWV7aZOikBQ3WM2057A668Zl8m9SkWY4ByAsN2g=; b=AuOonvTLmTcvC0e6fy2+dO09ovhIJNQcJ/1zDyL8tFDZKb3EoaWb5QwsnDnR4sUYqC i60Bop/KHBlqw/VtSCrWhh9wQdj8Kq2q+8XuY9gFBGxIAbkq6Qom8kUOIWvJ8OfB4FqT eiHK4f6fpo22NqjzuYCYFh1LYhHBHEnva2ZjSBvFYz78bXr0+enh4RSFSjUd2YQss42g LXVfh83l2n73rEsTZd/xsyuYcoF+MsLvUNpxoMs9TqQIuNsFjH0TTlZ3C6GNb3D2og01 bArRantLpv9qS3glWWjbuEMjJHtW6shM8lFC7Kl/AbzoC2i6uQW1WbsL40Dw/MoZc7mz Sw9Q== X-Received: by 10.180.105.67 with SMTP id gk3mr2547095wib.31.1360330478902; Fri, 08 Feb 2013 05:34:38 -0800 (PST) Received: from babylon.few.vu.nl ([2001:610:110:4e2:224:21ff:fe7a:bdc8]) by mx.google.com with ESMTPS id ec3sm14351650wib.1.2013.02.08.05.34.36 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 08 Feb 2013 05:34:37 -0800 (PST) Received: from reeuwijk by babylon.few.vu.nl with local (Exim 4.72) (envelope-from ) id 1U3o4C-0000bx-O4 for netdev@vger.kernel.org; Fri, 08 Feb 2013 14:32:36 +0100 Message-Id: Date: Fri, 08 Feb 2013 14:32:36 +0100 To: netdev@vger.kernel.org Subject: [PATCH v2 2/5] iproute2: clarifications in the libnetlink.3 man page User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 From: Kees van Reeuwijk Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Kees van Reeuwijk Rephrasing for clarity. Signed-off-by: Kees van Reeuwijk --- libnetlink.3 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/man/man3/libnetlink.3 b/man/man3/libnetlink.3 index d114169..e999bd6 100644 --- a/man/man3/libnetlink.3 +++ b/man/man3/libnetlink.3 @@ -100,7 +100,7 @@ in case of error. NULL for means to not use a filter. .B junk is used to filter messages not destined to the local socket. -Only one message bundle is received. Unless there is no message +Only one message bundle is received. If there is a message pending, this function does not block. .TP @@ -112,7 +112,7 @@ is a callback that gets the message source address, the message itself, and the .B jarg cookie as arguments. It will get called for all received messages. -Only one message bundle is received. Unless there is no message +Only one message bundle is received. If there is a message pending this function does not block. .TP @@ -123,7 +123,7 @@ but reads a netlink message bundle from the file .B file and passes the messages to .B handler -for parsing. The file contains raw data as received from a rtnetlink socket. +for parsing. The file should contain raw data as received from a rtnetlink socket. .PP The following functions are useful to construct custom rtnetlink messages. For simple database dumping with filtering it is better to use the higher level