Function arceos_posix_api::sys_sendmsg 
source · pub unsafe fn sys_sendmsg(
    socket_fd: c_int,
    msg: *const msghdr,
    flags: c_int
) -> ssize_tAvailable on crate feature 
net only.Expand description
Send a message on a socket to the address connected. The message is pointed to by the elements of the array msg.msg_iov.
Return the number of bytes sent if success.