mirror of https://github.com/mkerrisk/man-pages
readv.2: Minor tweaks to Christoph's patch
Reviewed-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fe20da96cf
commit
954136a176
13
man2/readv.2
13
man2/readv.2
|
@ -234,8 +234,10 @@ and its effect applies only to the data range written by the system call.
|
||||||
.\" commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
|
.\" commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
|
||||||
.TP
|
.TP
|
||||||
.BR RWF_NOWAIT " (since Linux 4.14)"
|
.BR RWF_NOWAIT " (since Linux 4.14)"
|
||||||
|
.\" commit 3239d834847627b6634a4139cf1dc58f6f137a46
|
||||||
|
.\" commit 91f9943e1c7b6638f27312d03fe71fcc67b23571
|
||||||
Do not wait for data which is not immediately available.
|
Do not wait for data which is not immediately available.
|
||||||
If this flag is specified the
|
If this flag is specified, the
|
||||||
.BR preadv2 ()
|
.BR preadv2 ()
|
||||||
system call will return instantly if it would have to read data from
|
system call will return instantly if it would have to read data from
|
||||||
the backing storage or wait for a lock.
|
the backing storage or wait for a lock.
|
||||||
|
@ -244,13 +246,8 @@ If no bytes were read, it will return -1 and set
|
||||||
.IR errno
|
.IR errno
|
||||||
to
|
to
|
||||||
.BR EAGAIN .
|
.BR EAGAIN .
|
||||||
This flag is meaningful only for
|
Currently, this flag is meaningful only for
|
||||||
.BR preadv2 ()
|
.BR preadv2 ().
|
||||||
at the moment.
|
|
||||||
.\" commit 3239d834847627b6634a4139cf1dc58f6f137a46
|
|
||||||
.\" commit 91f9943e1c7b6638f27312d03fe71fcc67b23571
|
|
||||||
|
|
||||||
|
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success,
|
On success,
|
||||||
.BR readv (),
|
.BR readv (),
|
||||||
|
|
Loading…
Reference in New Issue