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