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

Function writev

src/io/read_write.rs:192–194  ·  view source on GitHub ↗
(fd: Fd, bufs: &[IoSlice<'_>])

Source from the content-addressed store, hash-verified

190#[cfg(not(any(windows, target_os = "espidf", target_os = "horizon")))]
191#[inline]
192pub fn writev<Fd: AsFd>(fd: Fd, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
193 backend::io::syscalls::writev(fd.as_fd(), bufs)
194}
195
196/// `preadv(fd, bufs, offset)`—Reads from a file at a given position into
197/// multiple buffers.

Callers 2

test_readwrite_vFunction · 0.50
test_pwritev2Function · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 2

test_readwrite_vFunction · 0.40
test_pwritev2Function · 0.40