summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man2/sendmmsg.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/opensuse-tumbleweed/man2/sendmmsg.2
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man2/sendmmsg.2')
-rw-r--r--upstream/opensuse-tumbleweed/man2/sendmmsg.224
1 files changed, 12 insertions, 12 deletions
diff --git a/upstream/opensuse-tumbleweed/man2/sendmmsg.2 b/upstream/opensuse-tumbleweed/man2/sendmmsg.2
index 283c4a52..5e06151c 100644
--- a/upstream/opensuse-tumbleweed/man2/sendmmsg.2
+++ b/upstream/opensuse-tumbleweed/man2/sendmmsg.2
@@ -5,7 +5,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH sendmmsg 2 2023-05-03 "Linux man-pages 6.05.01"
+.TH sendmmsg 2 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
sendmmsg \- send multiple messages on a socket
.SH LIBRARY
@@ -15,7 +15,7 @@ Standard C library
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/socket.h>
-.PP
+.P
.BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
", unsigned int " vlen ","
.BI " int " flags ");"
@@ -29,12 +29,12 @@ that allows the caller to transmit multiple messages on a socket
using a single system call.
(This has performance benefits for some applications.)
.\" See commit 228e548e602061b08ee8e8966f567c12aa079682
-.PP
+.P
The
.I sockfd
argument is the file descriptor of the socket
on which data is to be transmitted.
-.PP
+.P
The
.I msgvec
argument is a pointer to an array of
@@ -42,13 +42,13 @@ argument is a pointer to an array of
structures.
The size of this array is specified in
.IR vlen .
-.PP
+.P
The
.I mmsghdr
structure is defined in
.I <sys/socket.h>
as:
-.PP
+.P
.in +4n
.EX
struct mmsghdr {
@@ -57,7 +57,7 @@ struct mmsghdr {
};
.EE
.in
-.PP
+.P
The
.I msg_hdr
field is a
@@ -71,13 +71,13 @@ field is used to return the number of bytes sent from the message in
(i.e., the same as the return value from a single
.BR sendmsg (2)
call).
-.PP
+.P
The
.I flags
argument contains flags ORed together.
The flags are the same as for
.BR sendmsg (2).
-.PP
+.P
A blocking
.BR sendmmsg ()
call blocks until
@@ -87,7 +87,7 @@ A nonblocking call sends as many messages as possible
(up to the limit specified by
.IR vlen )
and returns immediately.
-.PP
+.P
On return from
.BR sendmmsg (),
the
@@ -109,7 +109,7 @@ if this is less than
the caller can retry with a further
.BR sendmmsg ()
call to send the remaining messages.
-.PP
+.P
On error, \-1 is returned, and
.I errno
is set to indicate the error.
@@ -163,7 +163,7 @@ and
.I three
in two distinct UDP datagrams using one system call.
The contents of the first datagram originates from a pair of buffers.
-.PP
+.P
.\" SRC BEGIN (sendmmsg.c)
.EX
#define _GNU_SOURCE