x86 CPU版のLinuxの場合のシステムコールは /usr/include/asm/unistd.h にて定義されています。 全部で319個あるんですね。 システムコールの発行(int)は EAXレジスタ システムコール番号 EBX ECX EDX ESI EDI に引数を順番にセットして、0X80でソフト割り込みをかけるってことですね。 [root@cent5-19 lib]# cat /usr/include/asm/unistd.h #ifndef _ASM_I386_UNISTD_H_ #define _ASM_I386_UNISTD_H_ /* * This file contains the system call numbers. */ #define __NR_restart_syscall 0 #define __NR_exit 1 #define __NR_fork