Lines Matching defs:nextmsg
168 int firstmsg, nextmsg, lastmsg = 0;
348 nextmsg = lastmsg + 1;
349 snprintf(fname, sizeof (fname), "%s/%d", _PATH_MSGS, nextmsg);
357 fprintf(bounds, "%d %d\n", firstmsg, nextmsg);
371 nextmsg, pw->pw_name, ctime(&t));
419 fscanf(msgsrc, "%d\n", &nextmsg);
421 if (nextmsg > lastmsg+1) {
428 rcfirst = nextmsg - rcback;
443 rcfirst = nextmsg;
449 nextmsg = firstmsg;
451 fprintf(msgsrc, "%d\n", nextmsg);
563 if (msg >= nextmsg) sep = "Flushed";
593 if (msg >= nextmsg) {
594 nextmsg = msg + 1;
596 fprintf(msgsrc, "%d\n", nextmsg);
608 if (--msg >= nextmsg) {
609 nextmsg = msg + 1;
611 fprintf(msgsrc, "%d\n", nextmsg);