* hppahpux.h: Add defs for malloc() & realloc().
[deliverable/binutils-gdb.git] / bfd / hosts / sysv4.h
CommitLineData
be78a130
JG
1/* System V Release 4 Unix host system */
2
3#include <fcntl.h>
4#include <errno.h>
5#include <stdio.h>
6#include <sys/types.h>
7#include <sys/stat.h>
8#include <utime.h>
9#include <ctype.h>
10#include <string.h>
11#include <sys/file.h>
12
13#ifndef O_ACCMODE
14#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
15#endif
16#define SEEK_SET 0
17#define SEEK_CUR 1
18
19#define POSIX_UTIME
20#define HAVE_PROCFS /* This host has /proc support */
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 int EXFUN( getgid,());
29extern int EXFUN( getuid,());
30extern PTR EXFUN( malloc,(unsigned));
31extern void EXFUN( perror,(CONST char *));
32extern int EXFUN( qsort,(void *data,int els, int siz, int func()));
33extern PTR EXFUN( realloc, (PTR, unsigned));
34
35extern char *getenv();
36extern int chmod();
37extern int fstat();
38extern int stat();
39extern int strtol();
40
41extern char *ctime();
42extern int _flsbuf();
43extern int fclose();
44extern int utimes();
45extern int vfprintf();
46extern long atol();
47extern int fputc();
48extern int unlink();
49
50/* EXACT TYPES */
51typedef char int8e_type;
52typedef unsigned char uint8e_type;
53typedef short int16e_type;
54typedef unsigned short uint16e_type;
55typedef int int32e_type;
56typedef unsigned int uint32e_type;
57
58/* CORRECT SIZE OR GREATER */
59typedef char int8_type;
60typedef unsigned char uint8_type;
61typedef short int16_type;
62typedef unsigned short uint16_type;
63typedef int int32_type;
64typedef unsigned int uint32_type;
65
66#include "fopen-same.h"
This page took 0.038043 seconds and 4 git commands to generate.