Home | History | Annotate | Download | only in src

Lines Matching full:jobs

1 /*	$OpenBSD: jobs.c,v 1.38 2009/12/12 04:28:44 deraadt Exp $	*/
25 __RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.81 2011/08/27 18:06:46 tg Exp $");
58 #define PJ_PAST_STOPPED 1 /* just past any stopped jobs */
64 #define JF_XXCOM 0x008 /* set for $(command) jobs */
87 int32_t age; /* number of jobs started */
90 struct termios ttystat; /* saved tty state for stopped jobs */
91 pid_t saved_ttypgrp; /* saved tty process group for stopped jobs */
122 static int32_t njobs; /* # of jobs started */
228 /* kill stopped, and possibly running, jobs */
415 /* link process into jobs list */
537 /* in case of $(jobs) command */
567 /* n jobs using co-process output */
593 /* start the last job: only used for $(command) jobs */
614 /* wait for last job: only used for $(command) jobs */
665 * don't have to worry about exited/signaled jobs
668 /* AT&T ksh will wait for stopped jobs - we don't */
695 /* AT&T ksh will wait for stopped jobs - we don't */
855 /* are there any running or stopped jobs ? */
872 shellf("You have %s%s%s jobs\n",
883 /* list jobs for jobs built-in */
925 /* Remove jobs after printing so there won't be multiple + or - jobs */
929 remove_job(j, "jobs");
937 /* list jobs for top-level notification */
954 * multiple +/- jobs.
993 * If jobs are compiled in then this routine expects sigchld to be blocked.
1030 * If jobs are compiled in then this routine expects sigchld to be blocked.
1054 * If jobs are compiled in then this routine expects sigchld to be blocked.
1232 * If jobs are compiled in then this routine expects sigchld to be blocked.
1324 * If jobs are compiled in then this routine expects sigchld to be blocked.
1380 * Only put stopped jobs at the front to avoid confusing
1381 * the user (don't want finished jobs effecting %+ or %-)
1398 * Can't call j_notify() as it removes jobs. The job
1427 * If jobs are compiled in then this routine expects sigchld to be blocked.
1540 * If jobs are compiled in then this routine expects sigchld to be blocked.
1638 * If jobs are compiled in then this routine expects sigchld to be blocked.
1667 * If jobs are compiled in then this routine expects sigchld to be blocked.
1687 * If jobs are compiled in then this routine expects sigchld to be blocked.
1728 * If jobs are compiled in then this routine expects sigchld to be blocked.
1764 * If jobs are compiled in then this routine expects sigchld to be blocked.