MCPcopy Create free account
hub / github.com/Koihik/LuaFormatter / setBinaryMode

Function setBinaryMode

src/main.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <fcntl.h>
12#include <io.h>
13int setBinaryMode(FILE *file) {
14 return _setmode(_fileno(file), _O_BINARY);
15}
16#else
17int setBinaryMode(FILE*) {
18 return 0;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected