Searched refs:pgrp (Results 1 – 2 of 2) sorted by relevance
111 static int tcsetpgrp(int fd, pid_t pgrp);116 pid_t pgrp; in tcgetpgrp() local117 if (ioctl(fd, TIOCGPGRP, (char *)&pgrp) == -1) in tcgetpgrp()120 return pgrp; in tcgetpgrp()126 return ioctl(fd, TIOCSPGRP, (char *)&pgrp); in tcsetpgrp()869 int pgrp; in forkparent() local873 pgrp = pid; in forkparent()875 pgrp = jp->ps[0].pid; in forkparent()878 (void)setpgid(pid, pgrp); in forkparent()899 int pgrp; in forkchild() local[all …]
72 pid_t pgrp; /* process group of this job */ member