diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-11-17 18:47:53 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-11-17 21:51:23 +0100 |
| commit | 18e7c4597c4e72fa5210c7887273e363c456c9ee (patch) | |
| tree | 97cfd22e731a4c859ae71783d70943ff72e6cb60 /man/man2/recvmmsg.2 | |
| parent | 8fc6fdd8291d906e58a175b5e1b20da680aaeb4a (diff) | |
| download | man-pages-18e7c4597c4e.tar.gz | |
man/: Terminology consistency reforms (n, size, length)
Use 'length' for the lenght of a string.
Use 'n' for the number of elements.
Use 'size' for the number of bytes. (And in wide-character string
functions, 'size' also refers to the number of wide characters.)
The change is quite large, and I might have made some mistakes.
But overall, this should improve consistency in use of these terms.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/recvmmsg.2')
| -rw-r--r-- | man/man2/recvmmsg.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/man2/recvmmsg.2 b/man/man2/recvmmsg.2 index d729ba6878..685edf0851 100644 --- a/man/man2/recvmmsg.2 +++ b/man/man2/recvmmsg.2 @@ -19,8 +19,8 @@ Standard C library .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <sys/socket.h> .P -.BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \ -", unsigned int " vlen "," +.BI "int recvmmsg(int " sockfd \ +", struct mmsghdr " msgvec [. n "], unsigned int " n , .BI " int " flags ", struct timespec *" timeout ");" .fi .SH DESCRIPTION @@ -45,7 +45,7 @@ argument is a pointer to an array of .I mmsghdr structures. The size of this array is specified in -.IR vlen . +.IR n . .P The .I mmsghdr @@ -105,12 +105,12 @@ is NULL, then the operation blocks indefinitely. A blocking .BR recvmmsg () call blocks until -.I vlen +.I n messages have been received or until the timeout expires. A nonblocking call reads as many messages as are available (up to the limit specified by -.IR vlen ) +.IR n ) and returns immediately. .P On return from @@ -158,7 +158,7 @@ argument does not work as intended. .\" 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 +.I n\-1 datagrams are received before the timeout expires, but then no further datagrams are received, the call will block forever. .P |
