From 123be9deda8eb24ef15fb889248984e6d23bb8b4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 3 Nov 2012 18:29:46 +0100 Subject: Add recvmmsg and sendmmsg to the generic glibc API. --- include/sys/socket.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sys') diff --git a/include/sys/socket.h b/include/sys/socket.h index ec08857..9caf1bb 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -91,6 +91,10 @@ extern ssize_t __libc_sendmsg (int __fd, const struct msghdr *__message, extern ssize_t __sendmsg (int __fd, const struct msghdr *__message, int __flags) attribute_hidden; +extern int __sendmmsg (int __fd, struct mmsghdr *__vmessages, + unsigned int __vlen, int __flags); +libc_hidden_proto (__sendmmsg) + /* Receive a message as described by MESSAGE from socket FD. Returns the number of bytes read or -1 for errors. */ extern ssize_t __libc_recvmsg (int __fd, struct msghdr *__message, -- cgit v1.1