Pristine Ack-5.5
[Ack-5.5.git] / lib / minix / include / minix / callnr.h
1 #define NCALLS            70    /* number of system calls allowed */
2
3 #define EXIT               1 
4 #define FORK               2 
5 #define READ               3 
6 #define WRITE              4 
7 #define OPEN               5 
8 #define CLOSE              6 
9 #define WAIT               7
10 #define CREAT              8 
11 #define LINK               9 
12 #define UNLINK            10 
13 #define CHDIR             12 
14 #define TIME              13
15 #define MKNOD             14 
16 #define CHMOD             15 
17 #define CHOWN             16 
18 #define BRK               17
19 #define STAT              18 
20 #define LSEEK             19
21 #define GETPID            20
22 #define MOUNT             21 
23 #define UMOUNT            22 
24 #define SETUID            23
25 #define GETUID            24
26 #define STIME             25
27 #define PTRACE            26
28 #define ALARM             27
29 #define FSTAT             28 
30 #define PAUSE             29
31 #define UTIME             30 
32 #define ACCESS            33 
33 #define SYNC              36 
34 #define KILL              37
35 #define RENAME            38
36 #define MKDIR             39
37 #define RMDIR             40
38 #define DUP               41 
39 #define PIPE              42 
40 #define TIMES             43
41 #define SETGID            46
42 #define GETGID            47
43 #define SIGNAL            48
44 #define IOCTL             54
45 #define FCNTL             55
46 #define EXEC              59
47 #define UMASK             60 
48 #define CHROOT            61 
49
50 /* The following are not system calls, but are processed like them. */
51 #define KSIG              64    /* kernel detected a signal */
52 #define UNPAUSE           65    /* to MM or FS: check for EINTR */
53 #define BRK2              66    /* to MM: used to say how big FS & INIT are */
54 #define REVIVE            67    /* to FS: revive a sleeping process */
55 #define TASK_REPLY        68    /* to FS: reply code from tty task */
56
57 /* The following IS a system call for amoeba transactions */
58 #define AM_SYSCALL        69