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

Function curses_bail

win/curses/cursmisc.c:176–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174/* clean up and quit - taken from tty port */
175
176void
177curses_bail(const char *mesg)
178{
179 clearlocks();
180 curses_exit_nhwindows(mesg);
181 nh_terminate(EXIT_SUCCESS);
182}
183
184
185/* Return a winid for a new window of the given type */

Callers 3

curses_choose_characterFunction · 0.85
curses_player_selectionFunction · 0.85
curses_asknameFunction · 0.85

Calls 3

clearlocksFunction · 0.85
curses_exit_nhwindowsFunction · 0.85
nh_terminateFunction · 0.50

Tested by

no test coverage detected