Update
[gdb.git] / sim / sh / syscall.h
blobaebce2ce26d92976a0b9ee316ff761ad2db1c869
2 /* !!! DANGER !!!
3 This was copied from newlib. */
6 #define SYS_exit 1
7 #define SYS_fork 2
8 #define SYS_read 3
9 #define SYS_write 4
10 #define SYS_open 5
11 #define SYS_close 6
12 #define SYS_wait4 7
13 #define SYS_creat 8
14 #define SYS_link 9
15 #define SYS_unlink 10
16 #define SYS_execv 11
17 #define SYS_chdir 12
18 #define SYS_mknod 14
19 #define SYS_chmod 15
20 #define SYS_chown 16
21 #define SYS_lseek 19
22 #define SYS_getpid 20
23 #define SYS_isatty 21
24 #define SYS_fstat 22
25 #define SYS_time 23
26 #define SYS_ARG 24
27 #define SYS_stat 38
28 #define SYS_pipe 42
29 #define SYS_execve 59
30 #define SYS_truncate 129
31 #define SYS_ftruncate 130
32 #define SYS_argc 172
33 #define SYS_argnlen 173
34 #define SYS_argn 174
35 #define SYS_utime 201 /* not really a system call */
36 #define SYS_wait 202 /* nor is this */