Lines Matching refs:pgrp
252 pid_t pgrp; /* process group ID for the job */ member
686 tcsetpgrp(shell_terminal, pi->pgrp); in builtin_fg_bg()
693 if ( (i=kill(- pi->pgrp, SIGCONT)) < 0) { in builtin_fg_bg()
1565 pi->pgrp = -1;
1727 if (pi->pgrp < 0) {
1728 pi->pgrp = getpid();
1730 if (setpgid(0, pi->pgrp) == 0) {
1731 tcsetpgrp(2, pi->pgrp);
1741 if (pi->pgrp < 0) {
1742 pi->pgrp = child->pid;
1746 setpgid(child->pid, pi->pgrp);
1890 if (tcsetpgrp(shell_terminal, pi->pgrp) && errno != ENOTTY)