syscall definitions

Timo Benk (t_benk@web.de)
Tue, 2 Jul 2002 09:58:32 +0200


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/