Checkpoint. Can now read relocs.
[deliverable/binutils-gdb.git] / bfd / hosts / i386aix.h
CommitLineData
60ac749c
ILT
1/* i386 AIX 1.2.x host system */
2/* From Minh Tran-Le <TRANLE@INTELLICORP.COM>. */
3
4#include <fcntl.h>
5#include <errno.h>
6#include <stdio.h>
7#include <sys/types.h>
8#include <sys/stat.h>
9#include <utime.h>
10#include <ctype.h>
11#include <string.h>
12#include <sys/file.h>
13
14#ifndef O_ACCMODE
15#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
16#endif
17#define SEEK_SET 0
18#define SEEK_CUR 1
19
20#define POSIX_UTIME
21
22extern void EXFUN(abort,(void));
23extern int EXFUN(close,(int));
24extern void EXFUN(exit,(int));
25extern int EXFUN(fclose,(FILE*));
26extern void EXFUN(free,(PTR));
27extern int EXFUN(fseek,(FILE*, long, int));
28extern PTR EXFUN(malloc,(unsigned));
29extern void EXFUN(perror,(CONST char *));
30extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
31extern PTR EXFUN(realloc, (PTR, unsigned));
32
33extern char *getenv();
34extern int chmod();
35extern int fstat();
36extern int stat();
37
38extern char *ctime();
39extern int _flsbuf();
40extern int fclose();
41extern int utimes();
42extern int vfprintf();
43extern long atol();
44extern int fputc();
45extern int unlink();
46
47/* EXACT TYPES */
48typedef char int8e_type;
49typedef unsigned char uint8e_type;
50typedef short int16e_type;
51typedef unsigned short uint16e_type;
52typedef int int32e_type;
53typedef unsigned int uint32e_type;
54
55/* CORRECT SIZE OR GREATER */
56typedef char int8_type;
57typedef unsigned char uint8_type;
58typedef short int16_type;
59typedef unsigned short uint16_type;
60typedef int int32_type;
61typedef unsigned int uint32_type;
62
63#include "fopen-same.h"
This page took 0.030358 seconds and 4 git commands to generate.