#include #include #include #include #include #include #include #include #define FPRINTF_ALREADY_DECLARED #ifndef O_ACCMODE #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif #define SEEK_SET 0 #define SEEK_CUR 1 #define NO_FCNTL #include "fopen-bin.h"