Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
123456789101112131415161718192021222324#include "futex.h"#include "../errno.h"#include "../base.h"#include <linux-syscalls/linux.h>
extern long cerror(int __err);
VISIBLEint __linux_futex (int *uaddr, int op, int val, const struct timespec *timeout, int *uaddr2, int val3){ int rv;
rv = LINUX_SYSCALL(__NR_futex, uaddr, op, val, timeout, uaddr2, val3); if (rv < 0) { cerror(errno_linux_to_bsd(-rv)); return -1; }
return rv;}