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

Function vms_exit

sys/vms/vmsmisc.c:29–35  ·  view source on GitHub ↗

terminate, converting Unix-style exit code into VMS status code */

Source from the content-addressed store, hash-verified

27
28/* terminate, converting Unix-style exit code into VMS status code */
29ATTRNORETURN void
30vms_exit(int status)
31{
32 /* convert non-zero to failure, zero to success */
33 exit(status ? (SS$_ABORT | STS$M_INHIB_MSG) : SS$_NORMAL);
34 /* NOT REACHED */
35}
36
37/* put the user into the debugger; used for abort() when in wizard mode */
38ATTRNORETURN void

Callers 2

vms_abortFunction · 0.85
vms_tracebackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected