diff options
Diffstat (limited to 'man2/recvmmsg.2')
-rw-r--r-- | man2/recvmmsg.2 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 index bf3c9d4ca..78556fb8f 100644 --- a/man2/recvmmsg.2 +++ b/man2/recvmmsg.2 @@ -27,12 +27,12 @@ Standard C library The .BR recvmmsg () system call is an extension of -.BR recvmsg (2) +.MR recvmsg 2 that allows the caller to receive multiple messages from a socket using a single system call. (This has performance benefits for some applications.) A further extension over -.BR recvmsg (2) +.MR recvmsg 2 is support for a timeout on the receive operation. .P The @@ -67,19 +67,19 @@ The field is a .I msghdr structure, as described in -.BR recvmsg (2). +.MR recvmsg 2 . The .I msg_len field is the number of bytes returned for the message in the entry. This field has the same value as the return value of a single -.BR recvmsg (2) +.MR recvmsg 2 on the header. .P The .I flags argument contains flags ORed together. The flags are the same as documented for -.BR recvmsg (2), +.MR recvmsg 2 , with the following addition: .TP .BR MSG_WAITFORONE " (since Linux 2.6.34)" @@ -92,7 +92,7 @@ The argument points to a .I struct timespec (see -.BR clock_gettime (2)) +.MR clock_gettime 2 ) 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, @@ -123,7 +123,7 @@ contains the size of the received message; the subfields of .I msg_hdr are updated as described in -.BR recvmsg (2). +.MR recvmsg 2 . The return value of the call indicates the number of elements of .I msgvec that have been updated. @@ -137,7 +137,7 @@ on error, \-1 is returned, and is set to indicate the error. .SH ERRORS Errors are as for -.BR recvmsg (2). +.MR recvmsg 2 . In addition, the following error can occur: .TP .B EINVAL @@ -268,9 +268,9 @@ main(void) .EE .\" SRC END .SH SEE ALSO -.BR clock_gettime (2), -.BR recvmsg (2), -.BR sendmmsg (2), -.BR sendmsg (2), -.BR socket (2), -.BR socket (7) +.MR clock_gettime 2 , +.MR recvmsg 2 , +.MR sendmmsg 2 , +.MR sendmsg 2 , +.MR socket 2 , +.MR socket 7 |