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

Function X11_bail

win/X11/winX.c:1794–1802  ·  view source on GitHub ↗

X11_bail --------------------------------------------------------------- */ clean up and quit */

Source from the content-addressed store, hash-verified

1792/* X11_bail --------------------------------------------------------------- */
1793/* clean up and quit */
1794static void
1795X11_bail(const char *mesg)
1796{
1797 program_state.something_worth_saving = 0;
1798 clearlocks();
1799 X11_exit_nhwindows(mesg);
1800 nh_terminate(EXIT_SUCCESS);
1801 /*NOTREACHED*/
1802}
1803
1804/* askname ---------------------------------------------------------------- */
1805/* ARGSUSED */

Callers 1

X11_asknameFunction · 0.85

Calls 3

clearlocksFunction · 0.85
X11_exit_nhwindowsFunction · 0.85
nh_terminateFunction · 0.50

Tested by

no test coverage detected