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

Function kbhit

outdated/sys/os2/os2.c:179–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179int
180kbhit()
181{
182 KBDKEYINFO CharData;
183 HKBD KbdHandle = 0;
184
185 KbdPeek(&CharData, KbdHandle);
186 return (CharData.fbStatus & (1 << 6));
187}
188
189long
190freediskspace(path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected