Commit | Line | Data |
---|---|---|
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 | ||
10 | #ifndef O_ACCMODE | |
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 | ||
20 | #include "fopen-same.h" |