summaryrefslogtreecommitdiffstats
path: root/man2/readv.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/readv.2')
-rw-r--r--man2/readv.216
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/readv.2 b/man2/readv.2
index b6a7a0171..edbca60a0 100644
--- a/man2/readv.2
+++ b/man2/readv.2
@@ -29,7 +29,7 @@
.\" add more details.
.\" 2010-11-16, mtk, Added documentation of preadv() and pwritev()
.\"
-.TH READV 2 2020-06-09 "Linux" "Linux Programmer's Manual"
+.TH READV 2 2020-12-21 "Linux" "Linux Programmer's Manual"
.SH NAME
readv, writev, preadv, pwritev, preadv2, pwritev2 \- read or write data into multiple buffers
.SH SYNOPSIS
@@ -119,9 +119,9 @@ Buffers are processed in array order.
This means that
.BR readv ()
completely fills
-.IR iov [0]
+.I iov[0]
before proceeding to
-.IR iov [1],
+.IR iov[1] ,
and so on.
(If there is insufficient data, then not all buffers pointed to by
.I iov
@@ -129,9 +129,9 @@ may be filled.)
Similarly,
.BR writev ()
writes out the entire contents of
-.IR iov [0]
+.I iov[0]
before proceeding to
-.IR iov [1],
+.IR iov[1] ,
and so on.
.PP
The data transfers performed by
@@ -267,12 +267,12 @@ argument is \-1, the current file offset is updated.
.SH RETURN VALUE
On success,
.BR readv (),
-.BR preadv ()
+.BR preadv (),
and
.BR preadv2 ()
return the number of bytes read;
.BR writev (),
-.BR pwritev ()
+.BR pwritev (),
and
.BR pwritev2 ()
return the number of bytes written.
@@ -431,7 +431,7 @@ nwritten = writev(STDOUT_FILENO, iov, 2);
.BR read (2),
.BR write (2)
.SH COLOPHON
-This page is part of release 5.09 of the Linux
+This page is part of release 5.10 of the Linux
.I man-pages
project.
A description of the project,