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

Function mswin_raw_print

win/win32/mswproc.c:1415–1427  ·  view source on GitHub ↗

raw_print(str) -- Print directly to a screen, or otherwise guarantee that the user sees str. raw_print() appends a newline to str. It need not recognize ASCII control characters. This is used during startup (before windowing system initialization -- maybe this means only error startup messages are raw),

Source from the content-addressed store, hash-verified

1413 updating status for micros (i.e, "saving").
1414*/
1415void
1416mswin_raw_print(const char *str)
1417{
1418 logDebug("mswin_raw_print(%s)\n", str);
1419
1420 if (str && *str) {
1421 extern int redirect_stdout;
1422 if (!redirect_stdout)
1423 mswin_raw_print_accumulate(str, FALSE);
1424 else
1425 fprintf(stdout, "%s", str);
1426 }
1427}
1428
1429/*
1430raw_print_bold(str)

Callers

nothing calls this directly

Calls 3

fprintfFunction · 0.85
logDebugFunction · 0.70

Tested by

no test coverage detected