MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / SetBinaryMode

Function SetBinaryMode

src/tools/CommandLineMain.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void SetBinaryMode(FILE* fp) {
158#ifdef _WIN32
159 _setmode(_fileno(fp), _O_BINARY);
160#else
161 (void)fp;
162#endif
163}
164
165double DurationToMilliseconds(
166 const std::chrono::steady_clock::duration& duration) {

Callers 2

GetOutputStreamFunction · 0.85
ConvertStdinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected