| readv, writev, preadv, pwritev \- scatter/gather read and write |
| long readv(int fd, IOchunk *io, int nio) |
| long preadv(int fd, IOchunk *io, int nio, vlong off) |
| long writev(int fd, IOchunk *io, int nio) |
| long pwritev(int fd, IOchunk *io, int nio, vlong off) |
| These functions supplement the standard read and write operations of |
| with facilities for scatter/gather I/O. |
| The set of I/O buffers is collected into an array of |
| structures passed as an argument. |
| and returns the total number of bytes received. |
| The received data is stored in the successive |
| does the same, but implicitly seeks to I/O offset |
| are the analogous write routines. |
| .B /usr/local/plan9/src/libc/9sys/readv.c |
| .B /usr/local/plan9/src/libc/9sys/writev.c |
| to build a single buffer for a standard call to |
| They are placeholders for possible future system calls. |