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

Function done1

util/sfctool.c:888–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888void
889done1(int sig_unused UNUSED)
890{
891#ifndef NO_SIGNAL
892 (void) signal(SIGINT, SIG_IGN);
893#endif
894 if (flags.ignintr) {
895#ifndef NO_SIGNAL
896 (void) signal(SIGINT, (SIG_RET_TYPE) done1);
897#endif
898 }
899}
900
901/*
902 * I hate having to duplicate this code here, but it is much simpler to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected