MCPcopy Create free account
hub / github.com/NetHack/NetHack / term_flush

Function term_flush

outdated/sys/mac/mttymain.c:616–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614}
615
616int
617term_flush(void *desc)
618{
619 if (desc == stdout || desc == stderr) {
620 update_tty(_mt_window);
621 } else {
622 impossible("Substituted flush for file");
623 return fflush(desc);
624 }
625 return 0;
626}

Callers

nothing calls this directly

Calls 3

update_ttyFunction · 0.85
fflushFunction · 0.85
impossibleFunction · 0.50

Tested by

no test coverage detected