Lines Matching defs:job
53 * job handling woefully incomplete and buggy (improved --vda)
265 int num_progs; /* total number of programs in job */
269 int jobid; /* job number */
270 pid_t pgrp; /* process group ID for the job */
271 char *cmdtext; /* name of job */
521 /* job management: */
560 BLTIN("bg" , builtin_fg_bg, "Resume a job in the background"),
570 BLTIN("fg" , builtin_fg_bg, "Bring job into the foreground"),
685 /* Disable all signals: job control, SIGPIPE, etc. */
841 bb_error_msg("%s: no current job", argv[0]);
853 bb_error_msg("%s: %d: no such job", argv[0], jobnum);
857 // of job being foregrounded (like "sleep 1 | cat")
859 /* Put the job into the foreground. */
863 /* Restart the processes in the job */
909 struct pipe *job;
912 for (job = job_list; job; job = job->next) {
913 if (job->running_progs == job->stopped_progs)
918 printf(JOB_STATUS_FORMAT, job->jobid, status_string, job->cmdtext);
1440 /* Linear search for the ID of the job to use */
1456 /* Physically copy the struct job */
1494 /* remove a backgrounded job */
1505 have, figure out why and see if a job has completed */
1757 /* Disable job control signals for shell (parent) and
1975 * Remember this child as background job */
3571 /* Make sure we have a controlling tty. If we get started under a job
3590 /* Ignore job-control and misc signals. */
3742 /* no job control compiled, only prompt/line editing */