On Wed, 30 Mar 2005 09:38:09 +0800, Alex LIU <[EMAIL PROTECTED]> wrote: > Sorry for my unclear words... > I want to know the DIFFERENCE between SYSCALL() and _SYSCALLN()... > _syscallN() ( _syscall0(),_syscall1(),...._syscall6() ) is a macro defined > in include/asm/unist.h while syscall() is a glibc function which I'm not > sure. Thanks! > > Alex >
You are absolutely correct. _syscallN is a macro on unistd.h whah takes no of parameters according to the value of N. i.e _syscall0() does not take any parameters whereas _syscall6() takes 6 parameters. _syscallN calls calls the glibc function syscall which is an assembly entry in sysdeps\unix\sysv\linux\i386\syscall.S (glibc source). regards Manish Regmi - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
