* elfcode.h (map_program_segments): Restore check of file_size !=
[deliverable/binutils-gdb.git] / bfd / hosts / sysv4.h
CommitLineData
be78a130
JG
1/* System V Release 4 Unix host system */
2
c5652bff 3#include <stddef.h>
d7276c0a 4#include <ansidecl.h>
be78a130
JG
5#include <fcntl.h>
6#include <errno.h>
7#include <stdio.h>
8#include <sys/types.h>
9#include <sys/stat.h>
10#include <utime.h>
11#include <ctype.h>
12#include <string.h>
13#include <sys/file.h>
14
c5652bff 15#ifndef O_ACCMODE
be78a130
JG
16#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
17#endif
18#define SEEK_SET 0
19#define SEEK_CUR 1
20
21#define POSIX_UTIME
22#define HAVE_PROCFS /* This host has /proc support */
23
e49d5379
JG
24extern void abort PARAMS ((void));
25extern int close PARAMS ((int));
26extern void exit PARAMS ((int));
27extern int fclose PARAMS ((FILE*));
28extern void free PARAMS ((PTR));
29extern int fseek PARAMS ((FILE*, long, int));
30extern int getgid PARAMS (());
31extern int getuid PARAMS (());
32extern PTR malloc PARAMS ((unsigned));
33extern void perror PARAMS ((CONST char *));
34extern int qsort PARAMS ((void *data, int els, int siz, int func()));
35extern PTR realloc PARAMS ((PTR, unsigned));
be78a130
JG
36
37extern char *getenv();
38extern int chmod();
39extern int fstat();
40extern int stat();
41extern int strtol();
42
43extern char *ctime();
44extern int _flsbuf();
45extern int fclose();
46extern int utimes();
47extern int vfprintf();
48extern long atol();
49extern int fputc();
50extern int unlink();
51
be78a130 52#include "fopen-same.h"
This page took 0.072783 seconds and 4 git commands to generate.