syscall definitions

From: Timo Benk (t_benk@web.de)
Date: Tue Jul 02 2002 - 02:58:32 EST


Hi,

Do you know any good reference of the linux syscalls,
including there method bodies?

I wondered also if the syscalls are somewhere predefined,
so that i don't need to use the sys_call_table. Also i am not
sure if i use them the "right" way:

---<snip>---
int (*do_munmap2)(void *start, size_t length);

void initialize_syscalls()
{
        do_munmap2 = sys_call_table[__NR_munmap];
}
---<snap>---

Do i need such a initialize() function to initialize all
the syscalls i intend to use?

Thanks in advance,
-timo
        

-- 
gpg key fingerprint = 6832 C8EC D823 4059 0CD1  6FBF 9383 7DBD 109E 98DC

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 07 2002 - 22:00:08 EST