repo.or.cz
/
xv6-db.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
added base src
[xv6-db.git]
/
syscall.h
blob
3a0fbcad930f1e6725b1fca000395310794c6489
1
// System call numbers
2
#define SYS_fork 1
3
#define SYS_exit 2
4
#define SYS_wait 3
5
#define SYS_pipe 4
6
#define SYS_write 5
7
#define SYS_read 6
8
#define SYS_close 7
9
#define SYS_kill 8
10
#define SYS_exec 9
11
#define SYS_open 10
12
#define SYS_mknod 11
13
#define SYS_unlink 12
14
#define SYS_fstat 13
15
#define SYS_link 14
16
#define SYS_mkdir 15
17
#define SYS_chdir 16
18
#define SYS_dup 17
19
#define SYS_getpid 18
20
#define SYS_sbrk 19
21
#define SYS_sleep 20
22
#define SYS_uptime 21