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

Function bail

outdated/win/gem/wingem.c:122–130  ·  view source on GitHub ↗

clean up and quit */

(mesg)

Source from the content-addressed store, hash-verified

120}
121/* clean up and quit */
122static void
123bail(mesg)
124const char *mesg;
125{
126 clearlocks();
127 Gem_exit_nhwindows(mesg);
128 nh_terminate(EXIT_SUCCESS);
129 /*NOTREACHED*/
130}
131
132/*$$$*/
133#define DEF_CLIPAROUND_MARGIN -1

Callers 2

Gem_init_nhwindowsFunction · 0.70
Gem_player_selectionFunction · 0.70

Calls 3

clearlocksFunction · 0.85
Gem_exit_nhwindowsFunction · 0.85
nh_terminateFunction · 0.50

Tested by

no test coverage detected