where is the macro _syscall0 defined?

2008-04-07 Thread Robert P. J. Day
i'm playing with a sample program to make direct system calls as described here: http://www.ibm.com/developerworks/linux/library/l-system-calls/ and i've written a trivial program that should theoretically work, but the compilation fails on the line invoking _syscall0(). where is that macro

Re: where is the macro _syscall0 defined?

2008-04-07 Thread Rene Herman
on the line invoking _syscall0(). where is that macro defined in user space? Not anywhere anymore these days. They are obsolete. Please use syscall(2) instead. Rene. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to [EMAIL PROTECTED] Please read the FAQ at http

Re: where is the macro _syscall0 defined?

2008-04-07 Thread Robert P. J. Day
theoretically work, but the compilation fails on the line invoking _syscall0(). where is that macro defined in user space? Not anywhere anymore these days. They are obsolete. Please use syscall(2) instead. i knew about syscall(), i didn't realize that the _syscallX() macros had been removed