Commit | Line | Data |
---|---|---|
5af19052 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> | |
e5932011 | 9 | #include <stdlib.h> |
5af19052 SC |
10 | #ifndef O_ACCMODE |
11 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
12 | #endif | |
13 | #define SEEK_SET 0 | |
14 | #define SEEK_CUR 1 | |
15 | ||
5af19052 SC |
16 | #define NO_FCNTL |
17 | ||
a5431adc | 18 | #include "fopen-bin.h" |