Searched refs:job (Results 1 – 8 of 8) sorted by relevance
/system/core/sh/ |
D | jobs.h | 68 struct job { struct 95 struct job *makejob(union node *, int); 96 int forkshell(struct job *, union node *, int); 97 void forkchild(struct job *, union node *, int, int); 98 int forkparent(struct job *, union node *, int, pid_t); 99 int waitforjob(struct job *);
|
D | jobs.c | 89 static struct job *jobtab; /* array of jobs */ 99 STATIC void restartjob(struct job *); 100 STATIC void freejob(struct job *); 101 STATIC struct job *getjob(const char *, int); 102 STATIC int dowait(int, struct job *); 104 STATIC int waitproc(int, struct job *, int *); 258 struct job *jp; in fgcmd() 288 set_curjob(struct job *jp, int mode) in set_curjob() 290 struct job *jp1, *jp2; in set_curjob() 337 struct job *jp; in bgcmd() [all …]
|
D | eval.h | 47 struct job *jp; /* job structure for command */
|
D | eval.c | 426 struct job *jp; in evalsubshell() 491 struct job *jp; in evalpipe() 555 struct job *jp; in evalbackcmd() 688 struct job *jp; in evalcommand()
|
D | TOUR | 128 tions (the latter turns on job control) require changes in signal 214 jobs.c Code to handle forking, waiting, and job control. 226 JOBS.C: To create a process, you call makejob to return a job 227 structure, and then call forkshell (passing the job structure as 228 an argument) to create the process. Waitforjob waits for a job 229 to complete. These routines take care of process groups if job
|
D | cd.c | 401 struct job *jp; in find_curdir()
|
D | redir.c | 272 if (forkshell((struct job *)NULL, (union node *)NULL, FORK_NOJOB) == 0) { in openhere()
|
/system/core/sh/funcs/ |
D | kill | 38 # Convert job names to process ids and then run /bin/kill.
|