Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
12345678910111213141516171819202122232425#include "./sys/epoll.h"#include "../errno.h"#include "../base.h"#include <linux-syscalls/linux.h>
extern long cerror(int __err);
VISIBLEint epoll_wait (int __epfd, struct epoll_event *__events, int __maxevents, int __timeout){ int rv;
rv = LINUX_SYSCALL(__NR_epoll_wait, __epfd, __events, __maxevents, __timeout); if (rv < 0) { cerror(errno_linux_to_bsd(-rv)); return -1; }
return rv;}