From bbb9456ec4c655fc2d4a3921560aa95a139c25a5 Mon Sep 17 00:00:00 2001 From: Elie De Brauwer Date: Sun, 23 Dec 2012 18:47:05 +0100 Subject: [PATCH] recvmmsg.2: Add/correct kernel version info for recvmmsg() and MSG_WAITFORNONE This patch isolates the since/version related fixes as requested. This change introduces the following delta: * The page states it was added in 2.6.32 but it is only added 2.6.33 (ref: http://kernelnewbies.org/Linux_2_6_33) * The MSG_WAITFORONE flag was in turn only added in 2.6.34 (ref: http://kernelnewbies.org/Linux_2_6_34) Signed-off-by: Michael Kerrisk --- man2/recvmmsg.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 index 3ce6ea165..266fda2a3 100644 --- a/man2/recvmmsg.2 +++ b/man2/recvmmsg.2 @@ -26,7 +26,7 @@ .\" Author: Arnaldo Carvalho de Melo .\" Date: Mon Oct 12 23:40:10 2009 -0700 .\" -.TH RECVMMSG 2 2012-05-02 "Linux" "Linux Programmer's Manual" +.TH RECVMMSG 2 2012-12-24 "Linux" "Linux Programmer's Manual" .SH NAME recvmmsg \- receive multiple messages on a socket .SH SYNOPSIS @@ -98,7 +98,7 @@ The flags are the same as documented for .BR recvmsg (2), with the following addition: .TP -.B MSG_WAITFORONE +.BR MSG_WAITFORONE " (since Linux 2.6.34)" Turns on .B MSG_DONTWAIT after the first message has been received. @@ -163,7 +163,7 @@ is invalid. .SH VERSIONS The .BR recvmmsg () -system call was added in Linux 2.6.32. +system call was added in Linux 2.6.33. Support in glibc was added in version 2.12. .SH CONFORMING TO .BR recvmmsg ()