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

Function done_hangup

src/end.c:168–177  ·  view source on GitHub ↗

signal() handler */

Source from the content-addressed store, hash-verified

166#if defined(UNIX) || defined(VMS) || defined(__EMX__)
167/* signal() handler */
168staticfn void
169done_hangup(int sig)
170{
171#ifdef HANGUPHANDLING
172 program_state.done_hup++;
173#endif
174 sethanguphandler((void (*)(int)) SIG_IGN);
175 done_intr(sig);
176 return;
177}
178#endif
179#endif /* NO_SIGNAL */
180

Callers

nothing calls this directly

Calls 2

done_intrFunction · 0.85
sethanguphandlerFunction · 0.50

Tested by

no test coverage detected