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

Function done_intr

src/end.c:153–164  ·  view source on GitHub ↗

called as signal() handler, so sent at least 1 arg */ ARGSUSED*/

Source from the content-addressed store, hash-verified

151/* called as signal() handler, so sent at least 1 arg */
152/*ARGSUSED*/
153staticfn void
154done_intr(int sig_unused UNUSED)
155{
156 done_stopprint++;
157 (void) signal(SIGINT, SIG_IGN);
158#if defined(UNIX) || defined(VMS)
159#ifndef VMSVSI
160 (void) signal(SIGQUIT, SIG_IGN);
161#endif
162#endif
163 return;
164}
165
166#if defined(UNIX) || defined(VMS) || defined(__EMX__)
167/* signal() handler */

Callers 1

done_hangupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected