Skip to main content

pwritev

Function pwritev 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pwritev( fd: c_int, iov: *const iovec, iovcnt: c_int, offset: off_t, ) -> ssize_t
Expand description

Non-POSIX, see https://man7.org/linux/man-pages/man2/readv.2.html.

Combined the functionality of writev() and pwrite().

When successful, returns a non-negative number indicating the number of bytes actually written. Upon failure, returns -1.