aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-06-17 12:58:42 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-06-17 13:12:55 +0200
commitcb3366169531510bcc7d445e15df68396291a05d (patch)
treeffa7db658cc32959dfcbcb72d01def33429d2961
parent6c809df77b359bb3a9e06f32547e0aed155408be (diff)
downloadman-pages-cb3366169531510bcc7d445e15df68396291a05d.tar.gz
Various pages: Defer definition of iovec to iovec(3type)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/keyctl.212
-rw-r--r--man2/process_madvise.223
-rw-r--r--man2/process_vm_readv.214
-rw-r--r--man2/readv.214
-rw-r--r--man2/recv.25
-rw-r--r--man2/vmsplice.213
6 files changed, 10 insertions, 71 deletions
diff --git a/man2/keyctl.2 b/man2/keyctl.2
index 4f7f2a99b2..f392c32a94 100644
--- a/man2/keyctl.2
+++ b/man2/keyctl.2
@@ -1277,16 +1277,8 @@ This operation is the same as
.BR KEYCTL_INSTANTIATE ,
but the payload data is specified as an array of
.I iovec
-structures:
-.IP
-.in +4n
-.EX
-struct iovec {
- void *iov_base; /* Starting address of buffer */
- size_t iov_len; /* Size of buffer (in bytes) */
-};
-.EE
-.in
+structures (see
+.BR iovec (3type)).
.IP
The pointer to the payload vector is specified in
.I arg3
diff --git a/man2/process_madvise.2 b/man2/process_madvise.2
index 846930c2e5..790f390433 100644
--- a/man2/process_madvise.2
+++ b/man2/process_madvise.2
@@ -51,28 +51,9 @@ The pointer
.I iovec
points to an array of
.I iovec
-structures, defined in
-.I <sys/uio.h>
-as:
+structures, described in
+.BR iovec (3type).
.PP
-.in +4n
-.EX
-struct iovec {
- void *iov_base; /* Starting address */
- size_t iov_len; /* Length of region */
-};
-.EE
-.in
-.PP
-The
-.I iovec
-structure describes address ranges beginning at
-.I iov_base
-address and with the size of
-.I iov_len
-bytes.
-.PP
-The
.I vlen
specifies the number of elements in the
.I iovec
diff --git a/man2/process_vm_readv.2 b/man2/process_vm_readv.2
index 8da8df3d89..0391cdfb3b 100644
--- a/man2/process_vm_readv.2
+++ b/man2/process_vm_readv.2
@@ -94,18 +94,8 @@ and
.I remote_iov
arguments point to an array of
.I iovec
-structures, defined in
-.I <sys/uio.h>
-as:
-.PP
-.in +4n
-.EX
-struct iovec {
- void *iov_base; /* Starting address */
- size_t iov_len; /* Number of bytes to transfer */
-};
-.EE
-.in
+structures, described in
+.BR iovec (3type).
.PP
Buffers are processed in array order.
This means that
diff --git a/man2/readv.2 b/man2/readv.2
index 3886aa675d..1946201cd3 100644
--- a/man2/readv.2
+++ b/man2/readv.2
@@ -73,18 +73,8 @@ The pointer
points to an array of
.I iovec
structures,
-defined in
-.I <sys/uio.h>
-as:
-.PP
-.in +4n
-.EX
-struct iovec {
- void *iov_base; /* Starting address */
- size_t iov_len; /* Number of bytes to transfer */
-};
-.EE
-.in
+described in
+.BR iovec (3type).
.PP
The
.BR readv ()
diff --git a/man2/recv.2 b/man2/recv.2
index e2f381d9ce..e5e784110f 100644
--- a/man2/recv.2
+++ b/man2/recv.2
@@ -309,11 +309,6 @@ This structure is defined as follows in
.PP
.in +4n
.EX
-struct iovec { /* Scatter/gather array items */
- void *iov_base; /* Starting address */
- size_t iov_len; /* Number of bytes to transfer */
-};
-
struct msghdr {
void *msg_name; /* Optional address */
socklen_t msg_namelen; /* Size of address */
diff --git a/man2/vmsplice.2 b/man2/vmsplice.2
index 8d7fb0afe4..0e78df4245 100644
--- a/man2/vmsplice.2
+++ b/man2/vmsplice.2
@@ -55,17 +55,8 @@ The pointer
.I iov
points to an array of
.I iovec
-structures as defined in
-.IR <sys/uio.h> :
-.PP
-.in +4n
-.EX
-struct iovec {
- void *iov_base; /* Starting address */
- size_t iov_len; /* Number of bytes */
-};
-.EE
-.in
+structures as described in
+.BR iovec (3type).
.PP
The
.I flags