Lines Matching refs:JOBS
1 /* $NetBSD: jobs.c,v 1.124 2025/04/09 12:04:19 kre Exp $ */
38 static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
40 __RCSID("$NetBSD: jobs.c,v 1.124 2025/04/09 12:04:19 kre Exp $");
61 #if JOBS
74 #include "jobs.h"
95 static struct job *jobtab; /* array of jobs */
99 #if JOBS
242 #if JOBS
251 #if JOBS
260 error("No current jobs");
321 put after all stopped jobs. */
350 error("No current jobs");
383 * else - even another of our jobs
439 #if JOBS
488 #if JOBS
512 #if JOBS
589 * Print a list of jobs. If "change" is nonzero, only print jobs whose
610 #ifdef JOBS
656 #if JOBS
685 #if JOBS
737 * If we have forked, and not yet created any new jobs, then
767 * (different) running jobs, and if we had -n, and found that one has
825 * jobs we're waiting on, and if so, we clean it up.
988 #if JOBS
1097 #endif /* JOBS */
1126 #if JOBS
1135 #if JOBS
1288 #if JOBS
1396 #if JOBS
1467 #if JOBS
1478 #if JOBS
1492 #if JOBS
1501 #if JOBS
1515 if (! JOBS || jp->state == JOBDONE)
1672 #if JOBS
1682 * Now we have scanned all jobs. If we found the job that
1749 * and the jobs command may give out of date information.
1767 #if JOBS
1796 * return 1 if there are stopped jobs, otherwise 0
1811 out2str("You have stopped jobs.\n");
1822 * jobs command).