sendmsg

Function sendmsg 

Source
pub unsafe fn sendmsg(
    fd: &impl AsRawFd,
    msg: &msghdr,
    flags: u32,
) -> Result<usize>
Expand description

Sends a message on a socket.

ยงSafety

msg must refer to a valid msghdr structure for the duration of the call.