Mercurial
annotate third_party/libuv/src/unix/darwin-syscalls.h @ 196:83f16548ba41
[AI] Adding s3 bucket uploader code using Seobeo.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 14 Feb 2026 16:08:15 -0800 |
| parents | 948de3f54cea |
| children |
| rev | line source |
|---|---|
| 160 | 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_ */ |