1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pub const SYS_FORK : i64 = 0;
pub const SYS_EXIT : i64 = 1;
pub const SYS_WAIT : i64 = 2;
pub const SYS_PIPE : i64 = 3;
pub const SYS_READ : i64 = 4;
pub const SYS_WRITE : i64 = 5;
pub const SYS_CLOSE : i64 = 6;
pub const SYS_KILL : i64 = 7;
pub const SYS_EXEC : i64 = 8;
pub const SYS_OPEN : i64 = 9;
pub const SYS_MKNOD : i64 = 10;
pub const SYS_UNLINK : i64 = 11;
pub const SYS_FSTAT : i64 = 12;
pub const SYS_LINK : i64 = 13;
pub const SYS_MKDIR : i64 = 14;
pub const SYS_CHDIR : i64 = 15;
pub const SYS_DUP : i64 = 16;
pub const SYS_GETPID : i64 = 17;
pub const SYS_SBRK : i64 = 18;
pub const SYS_SLEEP : i64 = 19;
pub const SYS_UPTIME : i64 = 20;