Function lrs::syscall::sendmsg

Sends a message on a socket.

Syntax

fn sendmsg(sockfd: i32, msg: &msghdr, flags: i32) -> i64

Arguments

NameDescription
sockfd

The socket over which to send.

msg
flags

Flags used while sending.

Return value

Returns the number of bytes sent or an error value.

See also