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

Function dosh

sys/vms/vmsunix.c:449–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447 leave any process hanging around) */
448
449int
450dosh(void)
451{
452#ifdef SYSCF
453 if (!sysopt.shellers || !sysopt.shellers[0]
454 || !check_user_string(sysopt.shellers)) {
455 /* FIXME: should no longer assume a particular command keystroke */
456 Norep("Unavailable command '!'.");
457 return 0;
458 }
459#endif
460 return vms_doshell("", TRUE); /* call for interactive child process */
461}
462
463/* vms_doshell -- called by dosh() and readmail()
464 *

Callers 1

dosh_coreFunction · 0.50

Calls 3

NorepFunction · 0.85
vms_doshellFunction · 0.85
check_user_stringFunction · 0.70

Tested by

no test coverage detected