Re: where is the macro "_syscall0" defined?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 7 Apr 2008, Rene Herman wrote:

> On 07-04-08 20:38, Robert P. J. Day wrote:
>
> >   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 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 entirely.  thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux