Searched refs:jobtab (Results 1 – 1 of 1) sorted by relevance
89 static struct job *jobtab; /* array of jobs */ variable293 ji = jp - jobtab; in set_curjob()300 if (jobtab[i].prev_job != ji) in set_curjob()302 jobtab[i].prev_job = jp->prev_job; in set_curjob()314 if (curjob != -1 && jobtab[curjob].state == JOBSTOPPED) { in set_curjob()315 for (jp1 = jobtab + curjob; ; jp1 = jp2) { in set_curjob()318 jp2 = jobtab + jp1->prev_job; in set_curjob()346 out1fmt("[%ld] %s", (long)(jp - jobtab + 1), jp->ps[0].cmd); in bgcmd()427 TRACE(("showjob: freeing job %d\n", jp - jobtab + 1)); in showjob()436 (long)(jp - jobtab + 1), in showjob()[all …]