1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Add sendmmsg syscall

This commit is contained in:
Ulrich Drepper
2011-05-28 01:43:20 -04:00
parent ce67228d57
commit f1f929d74a
8 changed files with 136 additions and 3 deletions

View File

@ -421,7 +421,7 @@ struct linger
__BEGIN_DECLS
/* Receive a message as described by MESSAGE from socket FD.
/* Receive up to VLEN messages as described by VMESSAGES from socket FD.
Returns the number of bytes read or -1 for errors.
This function is a cancellation point and therefore not marked with
@ -430,6 +430,13 @@ extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
unsigned int __vlen, int __flags,
__const struct timespec *__tmo);
/* Send a VLEN messages as described by VMESSAGES to socket FD.
Return the number of datagrams successfully written or -1 for errors.
This function is a cancellation point and therefore not marked with
__THROW. */
extern int sendmmsg (int __fd, struct mmsghdr *__vmessages,
unsigned int __vlen, int __flags);
__END_DECLS
#endif /* bits/socket.h */