Searched refs:gleader (Results 1 - 4 of 4) sorted by relevance
/macosx-10.10/zsh-61/zsh/Src/ |
H A D | jobs.c | 234 jobtab[i].gleader) 250 if (jn->gleader != mypgrp && jn->procs->next) 251 killpg(jn->gleader, WTERMSIG(p->status)); 266 killpg(jn->gleader, 0) == -1))) { 269 jn->gleader = p->pid; 283 (!jn->procs->next || cp || jn->procs->pid != jn->gleader)) 284 attachtty(jn->gleader); 441 if (pn->pid == jn->gleader) /* if this process is process group leader */ 461 killpg(jobtab[i].gleader, SIGTSTP); 490 (jn->gleader [all...] |
H A D | exec.c | 950 if (jobtab[list_pipe_job].gleader && (list_pipe || list_pipe_child)) { 951 if (setpgrp(0L, jobtab[list_pipe_job].gleader) == -1 || 952 killpg(jobtab[list_pipe_job].gleader, 0) == -1) { 953 jobtab[list_pipe_job].gleader = 954 jobtab[thisjob].gleader = (list_pipe_child ? mypgrp : getpid()); 955 setpgrp(0L, jobtab[list_pipe_job].gleader); 957 attachtty(jobtab[thisjob].gleader); 960 else if (!jobtab[thisjob].gleader || 961 setpgrp(0L, jobtab[thisjob].gleader) == -1) { 972 jobtab[thisjob].gleader [all...] |
H A D | signals.c | 670 if (jobtab[i].gleader != getpid() && 671 killpg(jobtab[i].gleader, SIGHUP) != -1) 706 if (killpg(jobtab[jn->other].gleader, sig) == -1 && errno != ESRCH) 709 if (killpg(jn->gleader, sig) == -1 && errno != ESRCH) 715 return killpg(jn->gleader, sig);
|
H A D | zsh.h | 896 pid_t gleader; /* process group leader of this job */ member in struct:job
|
Completed in 90 milliseconds