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 abort
PARAMS ((void));
23 extern int close
PARAMS ((int));
24 extern int fcntl
PARAMS ((int des
, int cmd
, int e
));
25 extern int fprintf
PARAMS ((FILE *,char *,...));
26 extern int printf
PARAMS ((char *,...));
27 extern int qsort
PARAMS ((void *data
, int els
, int siz
, int func()));
28 extern void exit
PARAMS ((int));
29 extern int fseek
PARAMS ((FILE*, int, int));
30 extern int fclose
PARAMS ((FILE*));
31 extern void bcopy
PARAMS ((char*, char*, int));
32 extern int bcmp
PARAMS ((char *, char *, int));
33 extern void bzero
PARAMS ((char *, int));
34 extern PTR memset
PARAMS ((PTR
, int, unsigned int));
35 #ifndef DONTDECLARE_MALLOC
36 extern PTR malloc
PARAMS ((unsigned));
37 extern PTR realloc
PARAMS ((PTR
, unsigned));
41 PTR memcpy
PARAMS ((PTR
, CONST PTR
, unsigned int));
43 /* char * memcpy PARAMS ((char *, CONST char *, unsigned int)); */
46 extern int getuid
PARAMS (());
47 extern int getgid
PARAMS (());
48 extern char * strchr();
49 extern void perror
PARAMS ((CONST
char *));
50 extern char *getenv();
51 extern char *memchr();
52 extern char *strrchr();
61 extern int free
PARAMS ((PTR
));
64 extern char *strrchr();
70 extern int vfprintf();
72 extern char *getenv();
78 typedef unsigned long long uint64e_type
;
82 unsigned long low
, high
;
88 typedef unsigned long long uint64_type
;
89 typedef long long int64_type
;
92 unsigned long low
, high
;
96 unsigned long low
, high
;
101 #define BYTES_IN_PRINTF_INT 4
103 #define uint64_typeLOW(x) (unsigned long)(((x).low))
104 #define uint64_typeHIGH(x) (unsigned long)(((x).high))
106 #define uint64_typeLOW(x) (unsigned long)(((x) & 0xffffffff))
107 #define uint64_typeHIGH(x) (unsigned long)(((x) >> 32) & 0xffffffff)
110 #include "fopen-same.h"
This page took 0.032389 seconds and 5 git commands to generate.