X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman2%2Frecvmmsg.2;h=8cd462cd2d1ddddc5bdae23ae0c63c26032d5cb2;hb=110dba020f489b75aff2497105f7970c05e2b87c;hp=22f896b7609bb2844606ac1ce7435795b8a28e6d;hpb=361fd72f831aabd8a0aa6fe7bc4ef66ef4f89a1b;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man2/recvmmsg.2 b/original/man2/recvmmsg.2 index 22f896b7..8cd462cd 100644 --- a/original/man2/recvmmsg.2 +++ b/original/man2/recvmmsg.2 @@ -28,7 +28,7 @@ .\" Author: Arnaldo Carvalho de Melo .\" Date: Mon Oct 12 23:40:10 2009 -0700 .\" -.TH RECVMMSG 2 2012-12-24 "Linux" "Linux Programmer's Manual" +.TH RECVMMSG 2 2014-05-21 "Linux" "Linux Programmer's Manual" .SH NAME recvmmsg \- receive multiple messages on a socket .SH SYNOPSIS @@ -111,7 +111,8 @@ argument points to a .I struct timespec (see .BR clock_gettime (2)) -defining a timeout (seconds plus nanoseconds) for the receive operation. +defining a timeout (seconds plus nanoseconds) for the receive operation +.RI ( "but see BUGS!" ). (This interval will be rounded up to the system clock granularity, and kernel scheduling delays mean that the blocking interval may overrun by a small amount.) @@ -263,6 +264,17 @@ main(void) exit(EXIT_SUCCESS); } .fi +.SH BUGS +The +.I timeout +argument does not work as intended. +.\" FIXME https://bugzilla.kernel.org/show_bug.cgi?id=75371 +.\" http://thread.gmane.org/gmane.linux.man/5677 +The timeout is checked only after the receipt of each datagram, +so that if up to +.I vlen\-1 +datagrams are received before the timeout expires, +but then no further datagrams are received, the call will block forever. .SH SEE ALSO .BR clock_gettime (2), .BR recvmsg (2), @@ -271,10 +283,11 @@ main(void) .BR socket (2), .BR socket (7) .SH COLOPHON -This page is part of release 3.65 of the Linux +This page is part of release 3.68 of the Linux .I man-pages project. A description of the project, -and information about reporting bugs, +information about reporting bugs, +and the latest version of this page, can be found at \%http://www.kernel.org/doc/man\-pages/.