]>
Commit | Line | Data |
---|---|---|
335413d8 | 1 | #include <ansidecl.h> |
e4a0e98e SC |
2 | #include <fcntl.h> |
3 | #include <errno.h> | |
4 | #include <stdio.h> | |
5 | #include <sys/types.h> | |
6 | #include <sys/stat.h> | |
7 | #include <ctype.h> | |
8 | #include <string.h> | |
9 | #include <sys/file.h> | |
2855b89f | 10 | #include <stdlib.h> |
c5652bff | 11 | #ifndef O_ACCMODE |
e4a0e98e SC |
12 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) |
13 | #endif | |
14 | #define SEEK_SET 0 | |
15 | #define SEEK_CUR 1 | |
16 | ||
e49d5379 JG |
17 | extern int close PARAMS ((int)); |
18 | extern int fprintf PARAMS ((FILE *,CONST char *,...)); | |
e49d5379 JG |
19 | extern int fclose PARAMS ((FILE*)); |
20 | extern void bcopy PARAMS ((char*,char*,int)); | |
21 | extern int bcmp PARAMS ((char *, char *, int)); | |
22 | extern void bzero PARAMS ((char *, int)); | |
23 | extern void perror PARAMS ((CONST char *)); | |
302c8ab1 | 24 | extern char * strchr(); |
e4a0e98e SC |
25 | extern char *memchr(); |
26 | extern char *strrchr(); | |
27 | extern int chmod(); | |
e4a0e98e | 28 | extern int fstat(); |
e4a0e98e SC |
29 | extern int stat(); |
30 | extern int strtol(); | |
f6eaba83 | 31 | |
e4a0e98e SC |
32 | extern char *strrchr(); |
33 | extern char *ctime(); | |
34 | extern int _flsbuf(); | |
35 | extern int fclose(); | |
e4a0e98e SC |
36 | extern int utimes(); |
37 | extern int vfprintf(); | |
38 | extern long atol(); | |
39 | extern char *getenv(); | |
40 | extern int fputc(); | |
41 | extern int unlink(); | |
42 | ||
43 | ||
a5431adc | 44 | #include "fopen-same.h" |