C:sendmsg
lastmod 2026-11-10created 2019-11-132 edits
sendmsg is a POSIX system call that sends a message on a socket, passing the destination address, multiple data buffers (iovec), and ancillary data in a msghdr structure. It is a more general form than send·sendto and is also used to pass file descriptors over UNIX domain sockets. Its counterpart on the receiving side is recvmsg.