MCPcopy Index your code
hub / github.com/NetHack/NetHack / X11_io_error_handler

Function X11_io_error_handler

win/X11/winX.c:1551–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1549}
1550
1551static int
1552X11_io_error_handler(Display *display)
1553{
1554 nhUse(display);
1555#if defined(HANGUPHANDLING)
1556 hangup(1);
1557#ifdef SAFERHANGUP /* keeps going after hangup() for '#if SAFERHANGUP' */
1558 end_of_input();
1559#endif
1560#endif
1561 /*NOREACHED*/ /* but not declared NORETURN */
1562 return 0;
1563}
1564
1565void
1566X11_init_nhwindows(int *argcp, char **argv)

Callers

nothing calls this directly

Calls 2

hangupFunction · 0.85
end_of_inputFunction · 0.85

Tested by

no test coverage detected