NS32K changes from Ian Dall.
[deliverable/binutils-gdb.git] / bfd / hosts / amix.h
1 /* Amiga Unix host system */
2 #include <ansidecl.h>
3 #include <fcntl.h>
4 #include <errno.h>
5 #include <stdio.h>
6 #include <sys/types.h>
7 #include <sys/stat.h>
8 #include <utime.h>
9 #include <ctype.h>
10 #include <string.h>
11 #include <sys/file.h>
12
13 #ifndef O_ACCMODE
14 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
15 #endif
16 #define SEEK_SET 0
17 #define SEEK_CUR 1
18
19 #define POSIX_UTIME
20 #define HAVE_PROCFS /* This host has /proc support */
21
22 extern void abort PARAMS ((void));
23 extern int close PARAMS ((int));
24 extern void exit PARAMS ((int));
25 extern int fclose PARAMS ((FILE*));
26 extern void free PARAMS ((PTR));
27 extern int fseek PARAMS ((FILE*, long, int));
28 extern int getgid PARAMS (());
29 extern int getuid PARAMS (());
30 extern PTR malloc PARAMS ((unsigned));
31 extern void perror PARAMS ((CONST char *));
32 extern int qsort PARAMS ((void *data, int els, int siz, int func()));
33 extern PTR realloc PARAMS ((PTR, unsigned));
34
35 extern char *getenv();
36 extern int chmod();
37 extern int fstat();
38 extern int stat();
39 extern int strtol();
40
41 extern char *ctime();
42 extern int _flsbuf();
43 extern int fclose();
44 extern int utimes();
45 extern int vfprintf();
46 extern long atol();
47 extern int fputc();
48 extern int unlink();
49
50 #include "fopen-same.h"
This page took 0.031314 seconds and 4 git commands to generate.