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

Function vms_abort

sys/vms/vmsmisc.c:38–48  ·  view source on GitHub ↗

put the user into the debugger; used for abort() when in wizard mode */

Source from the content-addressed store, hash-verified

36
37/* put the user into the debugger; used for abort() when in wizard mode */
38ATTRNORETURN void
39vms_abort(void)
40{
41 if (debuggable)
42 lib$signal(SS$_DEBUG);
43
44 /* we'll get here if the debugger isn't available, or if the user
45 uses GO to resume execution instead of EXIT to quit */
46 vms_exit(2); /* don't return to caller (2==arbitrary non-zero) */
47 /* NOT REACHED */
48}
49
50/*
51 * Caveat: the VERYOLD_VMS configuration hasn't been tested in many years.

Callers

nothing calls this directly

Calls 1

vms_exitFunction · 0.85

Tested by

no test coverage detected