78ad5db269efc63a119fc5446d72cb8f6ed88009
1 /* Host definition file for Sun-4 running with gcc, using "long long"
2 for addresses, to handle 64-bit target systems. */
13 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
18 /* Make the basic types 64-bit quantities on the host */
19 #define HOST_64_BIT long long
21 extern int 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 PTR
EXFUN(memset
,(PTR
, int,unsigned int));
34 #ifndef DONTDECLARE_MALLOC
35 extern PTR
EXFUN(malloc
,(unsigned));
36 extern PTR
EXFUN(realloc
, (PTR
, unsigned));
40 PTR
EXFUN(memcpy
,(PTR
,CONST PTR
,unsigned int));
42 /* char * EXFUN(memcpy,(char *,CONST char *,unsigned int)); */
45 extern int EXFUN(getuid
,());
46 extern int EXFUN(getgid
,());
47 extern char * strchr();
48 extern void EXFUN(perror
,(CONST
char *));
49 extern char *getenv();
50 extern char *memchr();
51 extern char *strrchr();
60 extern int EXFUN(free
,(PTR
));
63 extern char *strrchr();
69 extern int vfprintf();
71 extern char *getenv();
77 typedef char int8e_type
;
78 typedef unsigned char uint8e_type
;
79 typedef short int16e_type
;
80 typedef unsigned short uint16e_type
;
81 typedef int int32e_type
;
82 typedef unsigned int uint32e_type
;
86 typedef unsigned long long uint64e_type
;
90 uint32e_type low
, high
;
94 /* CORRECT SIZE OR GREATER */
95 typedef char int8_type
;
96 typedef unsigned char uint8_type
;
97 typedef short int16_type
;
98 typedef unsigned short uint16_type
;
99 typedef int int32_type
;
100 typedef unsigned int uint32_type
;
103 typedef unsigned long long uint64_type
;
104 typedef long long int64_type
;
107 uint32e_type low
, high
;
111 uint32e_type low
, high
;
117 #define BYTES_IN_PRINTF_INT 4
119 #define uint64_typeLOW(x) (uint32_type)(((x).low))
120 #define uint64_typeHIGH(x) (uint32_type)(((x).high))
122 #define uint64_typeLOW(x) (uint32_type)(((x) & 0xffffffff))
123 #define uint64_typeHIGH(x) (uint32_type)(((x) >> 32) & 0xffffffff)
125 #include "fopen-same.h"
This page took 0.031427 seconds and 3 git commands to generate.