Home
last modified time | relevance | path

Searched refs:pgid_0 (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/getpgid/
Dgetpgid01.c63 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()
[all …]
Dgetpgid02.c61 int pgid_0, pgid_1; variable
70 &pgid_0, ESRCH},
125 pgid_0 = BADPID; in setup()