shadow_rs::host::syscall::io

Function read_cstring_vec

source
pub fn read_cstring_vec(
    mem: &MemoryManager,
    ptr_ptr: ForeignPtr<ForeignPtr<i8>>,
) -> Result<Vec<CString>, Errno>
Expand description

Read an array of strings, each of which with max length linux_api::limits::ARG_MAX. e.g. suitable for execve’s argument and environment string lists.