* @brief Receives a message from a socket. * * The 'recvmsg()' function receives data from the socket 's' into the buffers described by * the 'msghdr' structure. This function allows for complex data structures, including multiple * data buffers and optional control information. * * @param s The file descriptor of the socket to receive data from. * @param message A pointer to an '
| 479 | * @see socket() Creates the socket used with 'recvmsg()'. |
| 480 | */ |
| 481 | int recvmsg(int s, struct msghdr *message, int flags) |
| 482 | { |
| 483 | int socket = dfs_net_getsocket(s); |
| 484 | |
| 485 | return sal_recvmsg(socket, message, flags); |
| 486 | } |
| 487 | RTM_EXPORT(recvmsg); |
| 488 | |
| 489 | /** |
no test coverage detected