O_BINARY
# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
#ifdef O_BINARY
O_BINARY |
# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
int oflags = (O_RDONLY | O_BINARY | O_CLOEXEC | O_CLOFORK
| O_BINARY | O_CLOEXEC | O_CLOFORK | O_DIRECTORY));
#ifndef O_BINARY
int oflags = O_WRONLY | O_BINARY | O_CREAT | O_EXCL;
#ifndef O_BINARY
_fmode = O_BINARY;