Home
last modified time | relevance | path

Searched refs:jobno (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.bin/at/
H A Dat.c183 long jobno; in nextjob() local
187 if (fscanf(fid, "%5lx", &jobno) == 1) { in nextjob()
189 jobno = (1+jobno) % 0xfffff; /* 2^20 jobs enough? */ in nextjob()
190 fprintf(fid, "%05lx\n", jobno); in nextjob()
193 jobno = EOF; in nextjob()
195 return jobno; in nextjob()
198 fprintf(fid, "%05lx\n", jobno = 1); in nextjob()
210 long jobno; in writefile() local
263 if ((jobno = nextjob()) == EOF) in writefile()
267 jobno, (unsigned long) (runtimer/60)); in writefile()
[all …]
/freebsd/bin/sh/
H A Djobs.c374 int col, curr, i, jobno, prev, procno, status; in showjob() local
378 jobno = jp - jobtab + 1; in showjob()
428 if (jobno == curr && ps == jp->ps) in showjob()
430 else if (jobno == prev && ps == jp->ps) in showjob()
435 fmtstr(s, 64, "[%d] %c ", jobno, c); in showjob()
474 int jobno; in showjobs() local
479 for (jobno = 1, jp = jobtab ; jobno <= njobs ; jobno++, jp++) { in showjobs()
635 int jobno; in getjob_nonotfound() local
650 jobno = number(name + 1); in getjob_nonotfound()
651 if (jobno > 0 && jobno <= njobs in getjob_nonotfound()
[all …]
/freebsd/libexec/atrun/
H A Datrun.c451 unsigned long jobno; in main() local
541 if (sscanf(dirent->d_name,"%c%5lx%8lx",&queue,&jobno,&ctm) != 3) in main()