Searched refs:pgrp (Results 1 – 2 of 2) sorted by relevance
263 static inline abi_long do_bsd_setpgid(int pid, int pgrp) in do_bsd_setpgid() argument265 return get_errno(setpgid(pid, pgrp)); in do_bsd_setpgid()
252 pid_t pgrp; /* process group ID for the job */ member686 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;[all …]