Home
last modified time | relevance | path

Searched refs:num_jobs (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpq.c81 int num_jobs; in main() local
124 num_jobs = berkeley_queue_report(svc, stdout, printer, format, in main()
127 if ((interval != 0) && (num_jobs > 0)) in main()
129 } while ((interval > 0) && (num_jobs > 0)); in main()
H A Dcommon.c173 printer_state_line(FILE *fp, papi_printer_t p, int num_jobs, char *name) in printer_state_line() argument
186 if ((state != 0x03) || (num_jobs != 0)) { in printer_state_line()
314 int num_jobs = 0; in berkeley_queue_report() local
333 while (jobs[num_jobs] != NULL) in berkeley_queue_report()
334 num_jobs++; in berkeley_queue_report()
337 printer_state_line(fp, p, num_jobs, dest); in berkeley_queue_report()
338 if (num_jobs > 0) { in berkeley_queue_report()
350 return (num_jobs); in berkeley_queue_report()