mirror of https://github.com/mkerrisk/man-pages
readv.2: Remove generic advice about mixing stdio and syscalls on same file
There is nothing specific to readv()/writev() about this advice. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6b74f6c767
commit
c257d35f5b
|
@ -375,13 +375,6 @@ that the system is running a Linux kernel older than version 2.6.18
|
|||
And since glibc 2.20
|
||||
(which requires a minimum Linux kernel version of 2.6.32),
|
||||
the glibc wrapper functions always just directly invoke the system calls.
|
||||
|
||||
It is not advisable to mix calls to
|
||||
.BR readv ()
|
||||
or
|
||||
.BR writev (),
|
||||
which operate on file descriptors, with the functions from the stdio
|
||||
library; the results will be undefined and probably not what you want.
|
||||
.SH EXAMPLE
|
||||
The following code sample demonstrates the use of
|
||||
.BR writev ():
|
||||
|
|
Loading…
Reference in New Issue