aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/sendmmsg.2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-11-17 18:47:53 +0100
committerAlejandro Colomar <alx@kernel.org>2024-11-17 21:51:23 +0100
commit18e7c4597c4e72fa5210c7887273e363c456c9ee (patch)
tree97cfd22e731a4c859ae71783d70943ff72e6cb60 /man/man2/sendmmsg.2
parent8fc6fdd8291d906e58a175b5e1b20da680aaeb4a (diff)
downloadman-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/sendmmsg.2')
-rw-r--r--man/man2/sendmmsg.214
1 files changed, 7 insertions, 7 deletions
diff --git a/man/man2/sendmmsg.2 b/man/man2/sendmmsg.2
index f740b98843..d5122827d5 100644
--- a/man/man2/sendmmsg.2
+++ b/man/man2/sendmmsg.2
@@ -16,8 +16,8 @@ Standard C library
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/socket.h>
.P
-.BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
-", unsigned int " vlen ","
+.BI "int sendmmsg(int " sockfd \
+", struct mmsghdr " msgvec [. n "], unsigned int " n ,
.BI " int " flags ");"
.fi
.SH DESCRIPTION
@@ -41,7 +41,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
@@ -81,11 +81,11 @@ The flags are the same as for
A blocking
.BR sendmmsg ()
call blocks until
-.I vlen
+.I n
messages have been sent.
A nonblocking call sends as many messages as possible
(up to the limit specified by
-.IR vlen )
+.IR n )
and returns immediately.
.P
On return from
@@ -105,7 +105,7 @@ On success,
returns the number of messages sent from
.IR msgvec ;
if this is less than
-.IR vlen ,
+.IR n ,
the caller can retry with a further
.BR sendmmsg ()
call to send the remaining messages.
@@ -133,7 +133,7 @@ Linux 3.0,
glibc 2.14.
.SH NOTES
The value specified in
-.I vlen
+.I n
is capped to
.B UIO_MAXIOV
(1024).