.\" Author: Arnaldo Carvalho de Melo <acme@redhat.com>
.\" 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
.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.)
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),
.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/.