2002-06-12 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / sim / z8k / syscall.h
CommitLineData
c906108c
SS
1/* system call numbers
2 Copyright (C) 1992, 1993 Free Software Foundation, Inc.
3
4This file is part of Z8KSIM
5
6Z8KSIM is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11Z8KSIM is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with Z8KZIM; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20
21#define SYS_exit 1
22#define SYS_fork 2
23#define SYS_read 3
24#define SYS_write 4
25#define SYS_open 5
26#define SYS_close 6
27#define SYS_wait4 7
28#define SYS_creat 8
29#define SYS_link 9
30#define SYS_unlink 10
31#define SYS_execv 11
32#define SYS_chdir 12
33#define SYS_mknod 14
34#define SYS_chmod 15
35#define SYS_chown 16
36#define SYS_lseek 19
37#define SYS_getpid 20
38#define SYS_isatty 21
39#define SYS_fstat 22
40#define SYS_time 23
41
42
43#define SYS_ARG 24
This page took 0.119692 seconds and 4 git commands to generate.