* hosts/h-*.h: Configure fopen using ../include/fopen-*.h
[deliverable/binutils-gdb.git] / bfd / hosts / amix.h
1 /* Amiga Unix host system */
2
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 #include "fopen-same.h"
14
15 #ifndef O_ACCMODE
16 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
17 #endif
18 #define SEEK_SET 0
19 #define SEEK_CUR 1
20
21 #define POSIX_UTIME
22
23 extern PROTO(int, abort,(void));
24 extern PROTO(int, close,(int));
25 extern PROTO(void, exit,(int));
26 extern PROTO(int, fclose,(FILE*));
27 extern PROTO(void, free,(PTR));
28 extern PROTO(int, fseek,(FILE*, long, int));
29 extern PROTO(int, getgid,());
30 extern PROTO(int, getuid,());
31 extern PROTO(PTR, malloc,(unsigned));
32 extern PROTO(void, perror,(CONST char *));
33 extern PROTO(int, qsort,(void *data,int els, int siz, int func()));
34 extern PROTO(PTR, realloc, (PTR, unsigned));
35
36 extern char *getenv();
37 extern int chmod();
38 extern int fstat();
39 extern int stat();
40 extern int strtol();
41
42 extern char *ctime();
43 extern int _flsbuf();
44 extern int fclose();
45 extern int utimes();
46 extern int vfprintf();
47 extern long atol();
48 extern int fputc();
49 extern int unlink();
50
51 /* EXACT TYPES */
52 typedef char int8e_type;
53 typedef unsigned char uint8e_type;
54 typedef short int16e_type;
55 typedef unsigned short uint16e_type;
56 typedef int int32e_type;
57 typedef unsigned int uint32e_type;
58
59 /* CORRECT SIZE OR GREATER */
60 typedef char int8_type;
61 typedef unsigned char uint8_type;
62 typedef short int16_type;
63 typedef unsigned short uint16_type;
64 typedef int int32_type;
65 typedef unsigned int uint32_type;
This page took 0.031058 seconds and 5 git commands to generate.