source: trunk/libs/newlib/src/libgloss/v850/sys/syscall.h @ 656

Last change on this file since 656 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 949 bytes
Line 
1#ifndef _SYS_SYSCALL_H_
2#define _SYS_SYSCALL_H_
3
4/* Note: This file may be included by assembler source.  */
5
6#define SYS_exit        1
7#define SYS_fork        2
8
9#define SYS_read        3
10#define SYS_write       4
11#define SYS_open        5
12#define SYS_close       6
13#define SYS_wait4       7
14#define SYS_creat       8
15#define SYS_link        9
16#define SYS_unlink      10
17#define SYS_execv       11
18#define SYS_chdir       12
19#define SYS_mknod       14
20#define SYS_chmod       15
21#define SYS_chown       16
22#define SYS_lseek       19
23#define SYS_getpid      20
24#define SYS_isatty      21
25#define SYS_fstat       22
26#define SYS_time        23
27
28
29#define SYS_ARG         24
30#define SYS_stat        38
31
32
33#define SYS_pipe        42
34#define SYS_execve      59
35#define   SYS_times       43
36#define SYS_gettimeofday 116
37#define SYS_rename      134
38
39#define SYS_utime       201 /* not really a system call */
40#define SYS_wait        202 /* nor is this */
41
42#endif
Note: See TracBrowser for help on using the repository browser.