I'm trying to write a program that uses the futex system call. I'm on Ubuntu 10.04.
The problem is that even though I include
#include <linux/futex.h>
the compiler complains that it can not find its declaration. When I open up this header file, I see many macros related to the futex system call, but I can't see any functions defined at all for it (not even do_futex as I've seen at this header file online).
What should I do?
Thanks