public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ??
@ 2007-02-08  0:53 Iain Buchanan
  2007-02-08  5:10 ` [gentoo-user] " Christian Marie
  2007-02-08 10:40 ` [gentoo-user] " Boyd Stephen Smith Jr.
  0 siblings, 2 replies; 4+ messages in thread
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	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-08 10:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-08  0:53 [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ?? Iain Buchanan
2007-02-08  5:10 ` [gentoo-user] " Christian Marie
2007-02-08  7:01   ` Iain Buchanan
2007-02-08 10:40 ` [gentoo-user] " Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox