Hi all,

I'm trying to use:

_syscall3(int, ioprio_set, int, which, int, who, int, ioprio);
_syscall2(int, ioprio_get, int, which, int, who);

and supposedly I just

#include <linux/unistd.h>

but I'm getting these error from gcc:

error: syntax error before "ioprio_set"
warning: data definition has no type or storage class
error: syntax error before "ioprio_get"
warning: data definition has no type or storage class

so I had a look in /usr/include/linux/unistd.h and it doesn't even have
_syscall in there!! It's in /usr/src/linux though...

Am I doing something wrong?  I'm following
http://www.die.net/doc/linux/man/man2/ioprio_set.2.html

I know this is a C-ish question, only loosely related to gentoo but I'd
really appreciate any help!!

TIA,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

The groundhog is like most other prophets; it delivers its message and then
disappears.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to