* [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ??
@ 2007-02-08 0:53 99% Iain Buchanan
0 siblings, 0 replies; 1+ results
From: Iain Buchanan @ 2007-02-08 0:53 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-02-08 0:53 99% [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ?? Iain Buchanan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox