* hosts/std-host.h: New file. Attempt at a generic/default
[deliverable/binutils-gdb.git] / bfd / hosts / sun3.h
1 #include <ansidecl.h>
2 #include <fcntl.h>
3 #include <errno.h>
4 #include <stdio.h>
5 #include <sys/types.h>
6 #include <sys/stat.h>
7 #include <ctype.h>
8 #include <string.h>
9 #include <sys/file.h>
10 #ifndef O_ACCMODE
11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
12 #endif
13 #define SEEK_SET 0
14 #define SEEK_CUR 1
15
16 #ifdef __STDC__
17 extern void EXFUN(free,(PTR));
18 #else /* not __STDC__ */
19 extern int EXFUN(free,(PTR));
20 #endif /* not __STDC__ */
21 extern void EXFUN(abort,(void));
22 extern int EXFUN(close,(int));
23 extern int EXFUN(fcntl,(int des, int cmd, int e));
24 extern int EXFUN(fprintf,(FILE *,char *,...));
25 extern int EXFUN(printf,(char *,...));
26 extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
27 extern void EXFUN(exit,(int));
28 extern int EXFUN(fseek,(FILE*, int, int));
29 extern int EXFUN(fclose,(FILE*));
30 extern void EXFUN(bcopy,(char*,char*,int));
31 extern int EXFUN(bcmp,(char *, char *, int));
32 extern void EXFUN(bzero,(char *, int));
33 extern void EXFUN(perror,(CONST char *));
34 extern char *getenv();
35 extern char * strchr();
36 extern char *memchr();
37 extern char *strrchr();
38 extern int chmod();
39 extern int fread();
40 extern int fstat();
41 extern int fwrite();
42 extern int sscanf();
43 extern int stat();
44 extern int strtol();
45 #ifndef DONTDECLARE_MALLOC
46 extern PTR EXFUN(malloc,(unsigned));
47 extern PTR EXFUN(realloc, (PTR, unsigned));
48 #endif
49
50 extern char *strrchr();
51 extern char *ctime();
52 extern int _flsbuf();
53 extern int fclose();
54 extern int time();
55 extern int utimes();
56 extern int vfprintf();
57 extern long atol();
58 extern char *getenv();
59 extern int fputc();
60 extern int unlink();
61
62
63 /* EXACT TYPES */
64 typedef char int8e_type;
65 typedef unsigned char uint8e_type;
66 typedef short int16e_type;
67 typedef unsigned short uint16e_type;
68 typedef int int32e_type;
69 typedef unsigned int uint32e_type;
70
71 /* CORRECT SIZE OR GREATER */
72 typedef char int8_type;
73 typedef unsigned char uint8_type;
74 typedef short int16_type;
75 typedef unsigned short uint16_type;
76 typedef int int32_type;
77 typedef unsigned int uint32_type;
78
79 #include "fopen-same.h"
This page took 0.030944 seconds and 4 git commands to generate.