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

Function readv

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

Source from the content-addressed store, hash-verified

162#[cfg(not(any(windows, target_os = "espidf", target_os = "horizon")))]
163#[inline]
164pub fn readv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
165 backend::io::syscalls::readv(fd.as_fd(), bufs)
166}
167
168/// `writev(fd, bufs)`—Writes to a stream from multiple buffers.
169///

Callers 1

test_readwrite_vFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 1

test_readwrite_vFunction · 0.40