]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Various pages: Defer definition of iovec to iovec(3type)
authorAlejandro Colomar <alx.manpages@gmail.com>
Fri, 17 Jun 2022 10:58:42 +0000 (12:58 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Fri, 17 Jun 2022 11:12:55 +0000 (13:12 +0200)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/keyctl.2
man2/process_madvise.2
man2/process_vm_readv.2
man2/readv.2
man2/recv.2
man2/vmsplice.2

index 4f7f2a99b29759d9044302b5912d890722ed620b..f392c32a94e9d73ce9a98fcf6e9d44a6c428da61 100644 (file)
@@ -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
index 846930c2e53074103529d3e6c30b6b2df7b45891..790f39043319186e522f9a37887bed0bb49c16f3 100644 (file)
@@ -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
index 8da8df3d892af277cd5555dff0e49cea8619077b..0391cdfb3b72acf970f7226c938c80ee40732311 100644 (file)
@@ -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
index 3886aa675d3ecf9424edf268d574dcd00177d3ac..1946201cd34adebe9ab1d21a748f94ecfa9d696b 100644 (file)
@@ -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 ()
index e2f381d9ce340dc9a42625e001fb34254759af37..e5e784110f57278974c0e63ad148ab0133f81dc7 100644 (file)
@@ -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 */
index 8d7fb0afe4dd3561849d7a55856bca6fbce739d3..0e78df4245a77ac6ce4e9733195a583dc7d1a2cd 100644 (file)
@@ -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