r6831@lvps87-230-33-50: verhaegs | 2008-02-03 14:08:57 +0100
[tangerine.git] / compiler / clib / arosc_functable.c
blob5c1d3d33ea1b936d802bb5c1b7eefa4c01ee1e28
1 /*
2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/types.h>
8 #include <sys/stat.h>
9 #include <sys/time.h>
10 #include <sys/timeb.h>
11 #include <sys/times.h>
12 #include <sys/mount.h>
13 #include <sys/types.h>
14 #include <sys/wait.h>
15 #include <sys/ioctl.h>
16 #include <signal.h>
17 #include <assert.h>
18 #include <dirent.h>
19 #include <fcntl.h>
20 #include <setjmp.h>
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <string.h>
24 #include <time.h>
25 #include <unistd.h>
26 #include <utime.h>
27 #include <errno.h>
28 #include <locale.h>
29 #include <process.h>
30 #include <pwd.h>
31 #include <grp.h>
32 #include <libgen.h>
33 #include <regex.h>
34 #include <wchar.h>
35 #include <wctype.h>
37 #include <ioerr2errno.h> /* FIXME: Should this really be public? */
38 #include "signalhack.h" /* FIXME: Use <signal.h> when it is finished */
40 #include "arosc_init.h"
42 extern struct aroscbase *AROS_SLIB_ENTRY(open,arosc)();
43 extern BPTR AROS_SLIB_ENTRY(close,arosc)();
44 extern BPTR AROS_SLIB_ENTRY(expunge,arosc)();
45 extern int AROS_SLIB_ENTRY(null,arosc)();
47 void *const arosc_functable[]=
49 &AROS_SLIB_ENTRY(open,arosc),
50 &AROS_SLIB_ENTRY(close,arosc),
51 &AROS_SLIB_ENTRY(expunge,arosc),
52 &AROS_SLIB_ENTRY(null,arosc),
53 #define SYSTEM_CALL(name, x...) &name,
54 #include <sys/syscall.def>
55 #undef SYSTEM_CALL
56 (void *)-1