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

Function bail

win/win32/mswproc.c:2180–2187  ·  view source on GitHub ↗

clean up and quit */

Source from the content-addressed store, hash-verified

2178
2179/* clean up and quit */
2180void
2181bail(const char *mesg)
2182{
2183 clearlocks();
2184 mswin_exit_nhwindows(mesg);
2185 nh_terminate(EXIT_SUCCESS);
2186 /*NOTREACHED*/
2187}
2188
2189BOOL
2190initMapTiles(void)

Callers 4

MainWndProcFunction · 0.70
mswin_player_selectionFunction · 0.70
mswin_asknameFunction · 0.70

Calls 3

clearlocksFunction · 0.85
mswin_exit_nhwindowsFunction · 0.70
nh_terminateFunction · 0.50

Tested by

no test coverage detected