* @brief Sends a message on a socket. * * The 'sendmsg()' function sends data on the socket 's' using the structured data in the 'msghdr' * structure. This function is commonly used for sending complex messages with multiple buffers, * control information, or for working with datagram sockets. * * @param s The file descriptor of the socket to send the message on. * @param message
| 439 | * @see socket() Creates the socket to use with 'sendmsg()'. |
| 440 | */ |
| 441 | int sendmsg(int s, const struct msghdr *message, int flags) |
| 442 | { |
| 443 | int socket = dfs_net_getsocket(s); |
| 444 | |
| 445 | return sal_sendmsg(socket, message, flags); |
| 446 | } |
| 447 | RTM_EXPORT(sendmsg); |
| 448 | |
| 449 | /** |
no test coverage detected