Commit | Line | Data |
---|---|---|
89665c85 SC |
1 | #include <stddef.h> |
2 | #include <fcntl.h> | |
3 | #include <errno.h> | |
4 | #include <stdio.h> | |
5 | #include <ctype.h> | |
6 | #include <string.h> | |
7 | #include <stdlib.h> | |
8 | #include <sys/stat.h> | |
9 | #define FPRINTF_ALREADY_DECLARED | |
10 | ||
11 | #ifndef O_ACCMODE | |
12 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
13 | #endif | |
14 | #define SEEK_SET 0 | |
15 | #define SEEK_CUR 1 | |
16 | ||
17 | #define NO_FCNTL | |
18 | ||
19 | #include "fopen-bin.h" | |
20 |