comparison third_party/libuv/src/unix/darwin-syscalls.h @ 173:827c6ac504cd hg-web

Merged in default here.
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 18:59:10 -0800
parents 948de3f54cea
children
comparison
equal deleted inserted replaced
151:c033667da5f9 173:827c6ac504cd
1 #ifndef UV_DARWIN_SYSCALLS_H_
2 #define UV_DARWIN_SYSCALLS_H_
3
4 #include <sys/types.h>
5 #include <sys/socket.h>
6
7 /* https://github.com/apple/darwin-xnu/blob/master/bsd/sys/socket.h */
8
9 struct mmsghdr {
10 struct msghdr msg_hdr;
11 size_t msg_len;
12 };
13
14 ssize_t recvmsg_x(int s, const struct mmsghdr* msgp, u_int cnt, int flags);
15 ssize_t sendmsg_x(int s, const struct mmsghdr* msgp, u_int cnt, int flags);
16
17 #endif /* UV_DARWIN_SYSCALLS_H_ */