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

Function ckmailstatus

sys/vms/vmsmail.c:505–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505void
506ckmailstatus(void)
507{
508 struct mail_info *brdcst, *parse_next_broadcast();
509
510 while (broadcasts > 0) { /* process all trapped broadcasts [until] */
511 broadcasts--;
512 if ((brdcst = parse_next_broadcast()) != 0) {
513 newmail(brdcst);
514 break; /* only handle one real message at a time */
515 } else
516 printf("\n--< non-broadcast encountered >--\n");
517 }
518}
519
520int
521main(int argc UNUSED, char *argv[] UNUSED)

Callers 1

mainFunction · 0.70

Calls 3

parse_next_broadcastFunction · 0.85
printfFunction · 0.85
newmailFunction · 0.70

Tested by

no test coverage detected