35 lines
694 B
C
35 lines
694 B
C
#ifndef _SYS_SYSCALL_H
|
|
#define _SYS_SYSCALL_H
|
|
|
|
#define SYS_exit 0
|
|
#define SYS_yield 1
|
|
#define SYS_sleep 2
|
|
#define SYS_write 3
|
|
#define SYS_getprocid 4
|
|
#define SYS_mmap 5
|
|
#define SYS_munmap 6
|
|
#define SYS_open 7
|
|
#define SYS_read 8
|
|
#define SYS_close 9
|
|
#define SYS_seek 10
|
|
#define SYS_execv 11
|
|
#define SYS_fcntl 12
|
|
#define SYS_mprotect 13
|
|
#define SYS_clock_gettime 14
|
|
#define SYS_mkdir 15
|
|
#define SYS_fork 16
|
|
#define SYS_waitpid 17
|
|
#define SYS_access 18
|
|
#define SYS_fstat 19
|
|
#define SYS_pstat 20
|
|
#define SYS_getdents 21
|
|
#define SYS_stat 22
|
|
#define SYS_dup2 23
|
|
#define SYS_setuid 24
|
|
#define SYS_setgid 25
|
|
#define SYS_umask 26
|
|
#define SYS_ioctl 27
|
|
#define SYS_seteuid 28
|
|
#define SYS_setegid 29
|
|
|
|
#endif |