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

Function main

sys/vms/vmsmail.c:520–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520int
521main(int argc UNUSED, char *argv[] UNUSED)
522{
523 char dummy[BUFSIZ];
524
525 init_broadcast_trapping();
526 enable_broadcast_trapping();
527 for (;;) {
528 ckmailstatus();
529 printf("> "), fflush(stdout); /* issue a prompt */
530 if (!gets(dummy))
531 break; /* wait for a response */
532 }
533 disable_broadcast_trapping();
534 return 1;
535}
536
537void
538panic(char *s)

Callers

nothing calls this directly

Calls 6

init_broadcast_trappingFunction · 0.85
printfFunction · 0.85
fflushFunction · 0.85
ckmailstatusFunction · 0.70

Tested by

no test coverage detected