Searched refs:jobnum (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.3-release/usr.sbin/lpr/common_source/
H A Dmatchjobs.c212 int jobnum; local
255 * might be hostname:jobnum. The side which has a digit as the
270 * hostname:jobnum. If the input did not include a
301 jobnum = strtol(numstr, &numstr, 10);
304 if (jobnum < 0) /* a bogus value for this purpose */
306 if (jobnum > 99999) /* too large for job number */
308 jsinfo->startnum = jsinfo->endrange = jobnum;
314 jobnum = strtol(numstr, &numstr, 10);
317 if (jobnum < jsinfo->startnum)
319 if (jobnum > 9999
[all...]
H A Dcommon.c233 * assume the correct jobnum value is the first three digits.
531 * two), followed by the jobnum, followed by a hostname.
532 * The jobnum is usually 3 digits, but might be as many as 5.
537 memset(pp->jobnum, 0, sizeof(pp->jobnum));
538 pp->jobnum[0] = '0';
542 destp = &(pp->jobnum[0]);
674 pp->tr_timestr, pp->printer, lprhost, pp->jobnum,
H A Dlp.h90 char jobnum[JOBNUM_SIZE]; member in struct:printer
/freebsd-10.3-release/usr.sbin/lpr/lpc/
H A Dcmds.c1160 printf("usage: topq printer [jobnum ...] [user ...]\n");
1245 register int jobnum, n; local
1265 jobnum = 0;
1267 jobnum = jobnum * 10 + (*job++ - '0');
1273 if (jobnum != n)

Completed in 105 milliseconds