Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
123456789101112131415161718192021222324#include "./sys/eventfd.h"#include "../errno.h"#include "../base.h"#include <linux-syscalls/linux.h>
extern long cerror(int __err);
VISIBLEint __linux_eventfd (int __count, int __flags){ int rv;
rv = LINUX_SYSCALL(__flags ? __NR_eventfd2 : __NR_eventfd, __count, __flags); if (rv < 0) { cerror(errno_linux_to_bsd(-rv)); return -1; }
return rv;}