Lines Matching refs:pgrp
708 pid_t pgrp; /* process group ID for the job */ member
2180 if (job->pgrp <= 0) in check_and_run_traps()
2182 debug_printf_exec("HUPing pgrp %d\n", job->pgrp); in check_and_run_traps()
2183 if (kill(- job->pgrp, SIGHUP) == 0) in check_and_run_traps()
2184 kill(- job->pgrp, SIGCONT); in check_and_run_traps()
9244 IF_HUSH_JOB(pi->pgrp = -1;) in run_pipe()
9564 pid_t pgrp; in run_pipe() local
9565 pgrp = pi->pgrp; in run_pipe()
9566 if (pgrp < 0) /* true for 1st process only */ in run_pipe()
9567 pgrp = getpid(); in run_pipe()
9568 if (setpgid(0, pgrp) == 0 in run_pipe()
9574 tcsetpgrp(G_interactive_fd, pgrp); in run_pipe()
9636 if (pi->pgrp < 0) in run_pipe()
9637 pi->pgrp = command->pid; in run_pipe()
11759 tcsetpgrp(G_interactive_fd, pi->pgrp); in builtin_fg_bg()
11763 debug_printf_jobs("reviving %d procs, pgrp %d\n", pi->num_cmds, pi->pgrp); in builtin_fg_bg()
11769 i = kill(- pi->pgrp, SIGCONT); in builtin_fg_bg()
11834 dst += sprintf(dst, " -%u", (int)pi->pgrp); in builtin_kill()