MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / preadv

Function preadv

src/io/read_write.rs:227–229  ·  view source on GitHub ↗
(fd: Fd, bufs: &mut [IoSliceMut<'_>], offset: u64)

Source from the content-addressed store, hash-verified

225)))]
226#[inline]
227pub fn preadv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>], offset: u64) -> io::Result<usize> {
228 backend::io::syscalls::preadv(fd.as_fd(), bufs, offset)
229}
230
231/// `pwritev(fd, bufs, offset)`—Writes to a file at a given position from
232/// multiple buffers.

Callers 2

test_readwrite_pvFunction · 0.50
test_p_offsetsFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 2

test_readwrite_pvFunction · 0.40
test_p_offsetsFunction · 0.40