Home | History | Annotate | Download | only in waitid

Lines Matching refs:child

58 	pid_t child;
88 .msg = "WNOHANG | WEXITED no child",
96 .msg = "WNOHANG | WEXITED with child",
105 .msg = "P_PGID, WEXITED wait for child",
112 .msg = "P_PID, WEXITED wait for child",
135 .msg = "P_PID, WEXITED not a child of the calling process",
152 t->child = fork();
153 switch (t->child) {
168 tst_resm(TFAIL, "child returns %d", status);
194 wait4child(t->child);
206 t->id = t->child;
212 t->id = t->child;
217 kill(t->child, SIGCONT);
219 wait4child(t->child);
226 t->id = t->child;
227 if (waitid(P_PID, t->child, &infop, WSTOPPED) != 0)
229 kill(t->child, SIGCONT);
235 wait4child(t->child);