mirror of
https://github.com/fluencelabs/musl
synced 2025-06-18 09:21:46 +00:00
implement sendmmsg and recvmmsg
these are not pure syscall wrappers because they have to work around kernel API bugs on 64-bit archs. the workarounds could probably be made somewhat more efficient, but at the cost of more complexity. this may be revisited later.
This commit is contained in:
@ -26,6 +26,17 @@ struct ucred
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
};
|
||||
|
||||
struct mmsghdr
|
||||
{
|
||||
struct msghdr msg_hdr;
|
||||
unsigned int msg_len;
|
||||
};
|
||||
|
||||
struct timespec;
|
||||
|
||||
int sendmmsg (int, struct mmsghdr *, unsigned int, unsigned int);
|
||||
int recvmmsg (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *);
|
||||
#endif
|
||||
|
||||
struct linger
|
||||
|
Reference in New Issue
Block a user