Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
12345678910111213141516#include "./sys/eventfd.h"#include "../errno.h"#include "../base.h"#include <linux-syscalls/linux.h>
extern long cerror(int __err);extern long read(int fd, void *buf, unsigned long count);
VISIBLEint eventfd_read (int __fd, eventfd_t *__value){ return read(__fd, __value, sizeof(eventfd_t)) == sizeof(eventfd_t) ? 0 : -1;}