1 /* Host definition file for Sun-4 running with gcc, using "long long"
2 for addresses, to handle 64-bit target systems. */
14 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
19 /* Make the basic types 64-bit quantities on the host */
20 #define HOST_64_BIT long long
22 extern int EXFUN(abort
,(void));
23 extern int EXFUN(close
,(int));
24 extern int EXFUN(fcntl
,(int des
, int cmd
, int e
));
25 extern int EXFUN(fprintf
,(FILE *,char *,...));
26 extern int EXFUN(printf
,(char *,...));
27 extern int EXFUN(qsort
,(void *data
,int els
, int siz
, int func()));
28 extern void EXFUN(exit
,(int));
29 extern int EXFUN(fseek
,(FILE*, int, int));
30 extern int EXFUN(fclose
,(FILE*));
31 extern void EXFUN(bcopy
,(char*,char*,int));
32 extern int EXFUN(bcmp
,(char *, char *, int));
33 extern void EXFUN(bzero
,(char *, int));
34 extern PTR
EXFUN(memset
,(PTR
, int,unsigned int));
35 #ifndef DONTDECLARE_MALLOC
36 extern PTR
EXFUN(malloc
,(unsigned));
37 extern PTR
EXFUN(realloc
, (PTR
, unsigned));
41 PTR
EXFUN(memcpy
,(PTR
,CONST PTR
,unsigned int));
43 /* char * EXFUN(memcpy,(char *,CONST char *,unsigned int)); */
46 extern int EXFUN(getuid
,());
47 extern int EXFUN(getgid
,());
48 extern char * strchr();
49 extern void EXFUN(perror
,(CONST
char *));
50 extern char *getenv();
51 extern char *memchr();
52 extern char *strrchr();
61 extern int EXFUN(free
,(PTR
));
64 extern char *strrchr();
70 extern int vfprintf();
72 extern char *getenv();
78 typedef char int8e_type
;
79 typedef unsigned char uint8e_type
;
80 typedef short int16e_type
;
81 typedef unsigned short uint16e_type
;
82 typedef int int32e_type
;
83 typedef unsigned int uint32e_type
;
87 typedef unsigned long long uint64e_type
;
91 uint32e_type low
, high
;
95 /* CORRECT SIZE OR GREATER */
96 typedef char int8_type
;
97 typedef unsigned char uint8_type
;
98 typedef short int16_type
;
99 typedef unsigned short uint16_type
;
100 typedef int int32_type
;
101 typedef unsigned int uint32_type
;
104 typedef unsigned long long uint64_type
;
105 typedef long long int64_type
;
108 uint32e_type low
, high
;
112 uint32e_type low
, high
;
118 #define BYTES_IN_PRINTF_INT 4
120 #define uint64_typeLOW(x) (uint32_type)(((x).low))
121 #define uint64_typeHIGH(x) (uint32_type)(((x).high))
123 #define uint64_typeLOW(x) (uint32_type)(((x) & 0xffffffff))
124 #define uint64_typeHIGH(x) (uint32_type)(((x) >> 32) & 0xffffffff)
126 #include "fopen-same.h"
This page took 0.031986 seconds and 4 git commands to generate.