* hosts/sysv4.h (HAVE_PROCFS): Add comments about ptx4.
[deliverable/binutils-gdb.git] / bfd / hosts / sysv4.h
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
23 /* Note that we also use this for ptx4 (sequent). ptx4 does not
24 really have procfs, but it has the relevant headers for BFD to read
25 core files, so the proper thing to do for ptx4 is define
26 HAVE_PROCFS in BFD but not GDB. */
27
28 #define HAVE_PROCFS /* This host has /proc support */
29
30 extern void abort PARAMS ((void));
31 extern int close PARAMS ((int));
32 extern void exit PARAMS ((int));
33 extern int fclose PARAMS ((FILE*));
34 extern void free PARAMS ((PTR));
35 extern int fseek PARAMS ((FILE*, long, int));
36 extern int getgid PARAMS (());
37 extern int getuid PARAMS (());
38 extern PTR malloc PARAMS ((unsigned));
39 extern void perror PARAMS ((CONST char *));
40 extern int qsort PARAMS ((void *data, int els, int siz, int func()));
41 extern PTR realloc PARAMS ((PTR, unsigned));
42
43 extern char *getenv();
44 extern int chmod();
45 extern int fstat();
46 extern int stat();
47 extern int strtol();
48
49 extern char *ctime();
50 extern int _flsbuf();
51 extern int fclose();
52 extern int utimes();
53 extern int vfprintf();
54 extern long atol();
55 extern int fputc();
56 extern int unlink();
57
58 #include "fopen-same.h"
This page took 0.030412 seconds and 4 git commands to generate.