diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-11-03 18:29:46 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-11-20 19:26:04 +0100 |
commit | 123be9deda8eb24ef15fb889248984e6d23bb8b4 (patch) | |
tree | 8d875402831e2eb1923b9d3ef8d88bcee14ad2c6 /include/sys | |
parent | cf9a5d186154b1ad4a8459fafa135dcd822e5f3b (diff) | |
download | glibc-123be9deda8eb24ef15fb889248984e6d23bb8b4.tar.gz glibc-123be9deda8eb24ef15fb889248984e6d23bb8b4.tar.xz glibc-123be9deda8eb24ef15fb889248984e6d23bb8b4.zip |
Add recvmmsg and sendmmsg to the generic glibc API.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index ec088572bd..9caf1bbdf5 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, |