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

Function stdio_nhgetch

sys/windows/windmain.c:1376–1380  ·  view source on GitHub ↗

Add to your code: windowprocs.win_nhgetch = stdio_nhgetch; */

Source from the content-addressed store, hash-verified

1374
1375/* Add to your code: windowprocs.win_nhgetch = stdio_nhgetch; */
1376int
1377stdio_nhgetch(void)
1378{
1379 return getchar();
1380}
1381
1382 /*windmain.c*/

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected