From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ??
Date: Thu, 08 Feb 2007 10:23:09 +0930 [thread overview]
Message-ID: <1170895989.14243.49.camel@orpheus> (raw)
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
next reply other threads:[~2007-02-08 0:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 0:53 Iain Buchanan [this message]
2007-02-08 5:10 ` [gentoo-user] Re: _syscallX isn't in linux-headers-2.6.20 ?? Christian Marie
2007-02-08 7:01 ` Iain Buchanan
2007-02-08 10:40 ` [gentoo-user] " Boyd Stephen Smith Jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1170895989.14243.49.camel@orpheus \
--to=iaindb@netspace.net.au \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox