]>
Commit | Line | Data |
---|---|---|
c1c70e68 SC |
1 | #include <fcntl.h> |
2 | #include <errno.h> | |
3 | #include <stdio.h> | |
4 | #include <sys/types.h> | |
5 | #include <sys/stat.h> | |
6 | #include <ctype.h> | |
7 | #include <string.h> | |
8 | #include <sys/file.h> | |
9 | ||
c5652bff | 10 | #ifndef O_ACCMODE |
c1c70e68 SC |
11 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) |
12 | #endif | |
13 | ||
14 | #define SEEK_SET 0 | |
15 | #define SEEK_CUR 1 | |
16 | ||
17 | extern char *malloc(); | |
18 | extern void free(); | |
19 | ||
a5431adc | 20 | #include "fopen-same.h" |