3 readv, writev, preadv, pwritev \- scatter/gather read and write
20 long readv(int fd, IOchunk *io, int nio)
23 long preadv(int fd, IOchunk *io, int nio, vlong off)
26 long writev(int fd, IOchunk *io, int nio)
29 long pwritev(int fd, IOchunk *io, int nio, vlong off)
31 These functions supplement the standard read and write operations of
33 with facilities for scatter/gather I/O.
34 The set of I/O buffers is collected into an array of
36 structures passed as an argument.
41 and returns the total number of bytes received.
42 The received data is stored in the successive
56 does the same, but implicitly seeks to I/O offset
64 are the analogous write routines.
66 .B /sys/src/libc/9sys/readv.c
68 .B /sys/src/libc/9sys/writev.c
76 The implementations use
78 to build a single buffer for a standard call to
82 They are placeholders for possible future system calls.