1 2 3 4 5 6 7 8
#include "futex.h" #include "syscall.h" int __futex(volatile int *addr, int op, int val, void *ts) { return syscall4(__NR_futex, (long)addr, op, val, (long)ts); }