+int futex(int *uaddr, int op, int val, const struct timespec *timeout, int *uaddr2, int val3) {
+ static int (*func) (int*, int, int, const struct timespec*, int*, int) = NULL;
+ int ret;
+
+ if (!func)
+ func = (int (*) (int*, int, int, const struct timespec*, int*, int)) dlsym(REAL_LIBC, "futex");
+
+ fprintf(stderr,"FUTEX: %x\n", (unsigned int)uaddr);
+ ret = (*func) (uaddr, op, val, timeout, uaddr2, val3);
+
+ return ret;
+}
+
+