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

Function hup_yn_function

src/windows.c:663–672  ·  view source on GitHub ↗

ARGSUSED*/

Source from the content-addressed store, hash-verified

661
662/*ARGSUSED*/
663staticfn char
664hup_yn_function(
665 const char *prompt UNUSED,
666 const char *resp UNUSED,
667 char deflt)
668{
669 if (!deflt)
670 deflt = '\033';
671 return deflt;
672}
673
674/*ARGSUSED*/
675staticfn int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected