shadow_rs::host::syscall::io

Function read_iovecs

source
pub fn read_iovecs(
    mem: &MemoryManager,
    iov_ptr: ForeignPtr<iovec>,
    count: usize,
) -> Result<Vec<IoVec>, Errno>
Expand description

Read a plugin’s array of libc::iovec into a Vec<IoVec>.