Function shadow_rs::host::syscall::io::update_msghdr

source ยท
pub fn update_msghdr(
    mem: &mut MemoryManager,
    msg_ptr: ForeignPtr<msghdr>,
    msg: MsgHdr,
) -> Result<(), Errno>
Expand description

Used to update a libc::msghdr. Only writes the libc::msghdr msg_namelen, msg_controllen, and msg_flags fields, which are the only fields that can be changed by recvmsg().