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