* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.
[deliverable/binutils-gdb.git] / bfd / hosts / sysv4.h
... / ...
CommitLineData
1/* System V Release 4 Unix host system */
2
3#include <stddef.h>
4#include <ansidecl.h>
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
15#ifndef O_ACCMODE
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
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));
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
52#include "fopen-same.h"
This page took 0.022971 seconds and 4 git commands to generate.