[−][src]Function linux::syscall::recvmsg
pub fn recvmsg(sockfd: c_int, msg: &mut msghdr, flags: c_int) -> ssize_t
Receives a message on a socket.
[argument, sockfd] The socket on which to receive.
[argument, msghdr] The message buffer.
[argument, flags] Flags used while receiving.
[return_value] Returns the number of bytes received or an error value.
= Remarks
Unless lrs was compiled with the no-auto-cloexec
flag, this function automatically
adds the MSG_CMSG_CLOEXEC
flag.
= See also
- link:man:recvmsg(2)