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

Function PrintInteractiveStdinHint

src/tools/CommandLineMain.cpp:243–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void PrintInteractiveStdinHint() {
244#ifdef _WIN32
245 if (_isatty(_fileno(stdin))) {
246 fprintf(stderr,
247 "Reading from standard input. Press Ctrl+Z then Enter to "
248 "finish.\n");
249 }
250#else
251 if (isatty(fileno(stdin))) {
252 fprintf(stderr,
253 "Reading from standard input. Press Ctrl+D to finish.\n");
254 }
255#endif
256}
257
258void PrintVariationSelectorWarningOnce() {
259 if (variationSelectorWarningShown) {

Callers 2

ConvertLineByLineFunction · 0.85
ConvertStdinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected