Lines Matching refs:iov
13 pub fn writev(fd: RawFd, iov: &[IoSlice<'_>]) -> Result<usize> {
22 libc::writev(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int)
31 pub fn readv(fd: RawFd, iov: &mut [IoSliceMut<'_>]) -> Result<usize> {
34 libc::readv(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int)
40 /// Write to `fd` at `offset` from buffers in `iov`.
42 /// Buffers in `iov` will be written in order until all buffers have been written
48 pub fn pwritev(fd: RawFd, iov: &[IoSlice<'_>], offset: off_t) -> Result<usize> {
56 iov.as_ptr() as *const libc::iovec,
57 iov.len() as c_int,
65 /// Read from `fd` at `offset` filling buffers in `iov`.
67 /// Buffers in `iov` will be filled in order until all buffers have been filled,
76 iov: &mut [IoSliceMut<'_>],
86 iov.as_ptr() as *const libc::iovec,
87 iov.len() as c_int,