OSDN Git Service

* public snapshot of sid simulator
[pf3gnuchains/pf3gnuchains3x.git] / sid / component / gloss / libgloss.h
1 // libgloss.h - Interface details for Cygnus' libgloss.  -*- C++ -*-
2
3 // Copyright (C) 1999, 2000 Red Hat.
4 // This file is part of SID and is licensed under the GPL.
5 // See the file COPYING.SID for conditions for redistribution.
6
7 // System call numbers must be synchronised with:
8 //   libgloss/syscall.h
9 //
10 // Some ports don't use the standard syscall.h numbers.  Sigh.
11 // Those ports should not use this file.
12
13 #ifndef LIBGLOSS_H
14 #define LIBGLOSS_H
15
16 class libgloss
17 {
18 public:
19
20   enum libgloss_syscall
21   {
22     SYS_exit = 1,
23     SYS_open = 2, 
24     SYS_close = 3, 
25     SYS_read = 4,
26     SYS_write = 5, 
27     SYS_lseek = 6, 
28     SYS_unlink = 7,
29     SYS_getpid = 8,
30     SYS_kill = 9,
31     SYS_fstat = 10, 
32     SYS_argvlen = 12, 
33     SYS_argv = 13,
34     SYS_chdir = 14, 
35     SYS_stat = 15, 
36     SYS_chmod = 16, 
37     SYS_utime = 17,
38     SYS_time = 18
39   };
40 };
41
42 #endif // LIBGLOSS_H