UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros
syscall.h File Reference

Go to the source code of this file.

Macros

#define SYS_fork   1
 
#define SYS_exit   2
 
#define SYS_wait   3
 
#define SYS_pipe   4
 
#define SYS_read   5
 
#define SYS_kill   6
 
#define SYS_exec   7
 
#define SYS_fstat   8
 
#define SYS_chdir   9
 
#define SYS_dup   10
 
#define SYS_getpid   11
 
#define SYS_sbrk   12
 
#define SYS_sleep   13
 
#define SYS_uptime   14
 
#define SYS_open   15
 
#define SYS_write   16
 
#define SYS_mknod   17
 
#define SYS_unlink   18
 
#define SYS_link   19
 
#define SYS_mkdir   20
 
#define SYS_close   21
 

Macro Definition Documentation

#define SYS_chdir   9

Definition at line 10 of file syscall.h.

#define SYS_close   21

Definition at line 22 of file syscall.h.

#define SYS_dup   10

Definition at line 11 of file syscall.h.

#define SYS_exec   7

Definition at line 8 of file syscall.h.

#define SYS_exit   2

Definition at line 3 of file syscall.h.

#define SYS_fork   1

Definition at line 2 of file syscall.h.

#define SYS_fstat   8

Definition at line 9 of file syscall.h.

#define SYS_getpid   11

Definition at line 12 of file syscall.h.

#define SYS_kill   6

Definition at line 7 of file syscall.h.

#define SYS_link   19

Definition at line 20 of file syscall.h.

#define SYS_mkdir   20

Definition at line 21 of file syscall.h.

#define SYS_mknod   17

Definition at line 18 of file syscall.h.

#define SYS_open   15

Definition at line 16 of file syscall.h.

#define SYS_pipe   4

Definition at line 5 of file syscall.h.

#define SYS_read   5

Definition at line 6 of file syscall.h.

#define SYS_sbrk   12

Definition at line 13 of file syscall.h.

#define SYS_sleep   13

Definition at line 14 of file syscall.h.

#define SYS_unlink   18

Definition at line 19 of file syscall.h.

#define SYS_uptime   14

Definition at line 15 of file syscall.h.

#define SYS_wait   3

Definition at line 4 of file syscall.h.

#define SYS_write   16

Definition at line 17 of file syscall.h.