view third_party/libuv/src/unix/darwin-syscalls.h @ 262:0f45474c1b1a

Add cyberpunk JRPG blog browser Show the latest posts in the JRPG preview and render the full blog archive and sanitized post details in the Inspect modal. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Thu, 06 Aug 2026 04:08:45 -0700
parents 948de3f54cea
children
line wrap: on
line source

#ifndef UV_DARWIN_SYSCALLS_H_
#define UV_DARWIN_SYSCALLS_H_

#include <sys/types.h>
#include <sys/socket.h>

/* https://github.com/apple/darwin-xnu/blob/master/bsd/sys/socket.h */

struct mmsghdr {
    struct msghdr msg_hdr;
    size_t msg_len;
};

ssize_t recvmsg_x(int s, const struct mmsghdr* msgp, u_int cnt, int flags);
ssize_t sendmsg_x(int s, const struct mmsghdr* msgp, u_int cnt, int flags);

#endif /* UV_DARWIN_SYSCALLS_H_ */