Lines Matching refs:pgid_0
63 register int pgid_0, pgid_1; in main() local
74 if ((pgid_0 = FORK_OR_VFORK()) == -1) in main()
76 if (pgid_0 > 0) { in main()
77 while ((pgid_0 = wait(&ex_stat)) != -1) ; in main()
89 if ((pgid_0 = getpgid(0)) == -1) { in main()
108 if (pgid_0 != pgid_1) { in main()
110 "[%d != %d]", my_pid, pgid_1, pgid_0); in main()
129 if (pgid_0 != pgid_1) { in main()
131 my_ppid, pgid_1, pgid_0); in main()
148 if ((pgid_1 = getpgid(pgid_0)) < 0) in main()
149 tst_resm(TFAIL | TERRNO, "getpgid(%d) failed", pgid_0); in main()
151 if (pgid_0 != pgid_1) { in main()
153 pgid_0, pgid_1, pgid_0); in main()