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

Function pwritev2

src/io/read_write.rs:303–310  ·  view source on GitHub ↗
(
    fd: Fd,
    bufs: &[IoSlice<'_>],
    offset: u64,
    flags: ReadWriteFlags,
)

Source from the content-addressed store, hash-verified

301#[cfg(all(linux_kernel, not(target_os = "android")))]
302#[inline]
303pub fn pwritev2<Fd: AsFd>(
304 fd: Fd,
305 bufs: &[IoSlice<'_>],
306 offset: u64,
307 flags: ReadWriteFlags,
308) -> io::Result<usize> {
309 backend::io::syscalls::pwritev2(fd.as_fd(), bufs, offset, flags)
310}

Callers 2

test_pwritev2Function · 0.50
test_p_offsetsFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 2

test_pwritev2Function · 0.40
test_p_offsetsFunction · 0.40