called as signal() handler, so sent at least one arg */ ARGSUSED*/
| 65 | /* called as signal() handler, so sent at least one arg */ |
| 66 | /*ARGSUSED*/ |
| 67 | void |
| 68 | done1(int sig_unused UNUSED) |
| 69 | { |
| 70 | #ifndef NO_SIGNAL |
| 71 | (void) signal(SIGINT, SIG_IGN); |
| 72 | #endif |
| 73 | iflags.debug_fuzzer = fuzzer_off; |
| 74 | if (flags.ignintr) { |
| 75 | #ifndef NO_SIGNAL |
| 76 | (void) signal(SIGINT, (SIG_RET_TYPE) done1); |
| 77 | #endif |
| 78 | clear_nhwindow(WIN_MESSAGE); |
| 79 | curs_on_u(); |
| 80 | wait_synch(); |
| 81 | if (gm.multi > 0) |
| 82 | nomul(0); |
| 83 | } else { |
| 84 | (void) done2(); |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | /* "#quit" command or keyboard interrupt */ |
| 89 | int |
nothing calls this directly
no test coverage detected