Lines Matching refs:child
298 /* child process */
310 tst_resm(TFAIL, "Test case %d, child %d, errno = %d",
318 tst_resm(TFAIL, "Test case %d, child %d, errno = %d",
332 tst_resm(TFAIL, "Attempt to set child BLOCKING lock "
340 } /* end of child process */
359 * Set flag to let parent know that child #1 is ready to have the
368 * Set flag to let parent know that child #2 is ready to have the
375 { /* invoked on child catching SIGUSR1 */
377 * Set flag to interrupt fcntl call in child and force a controlled
390 tst_resm(TFAIL, "Attempt to signal child %d, "
447 int child;
489 /* Initialize first child lock structure */
492 /* Initialize child counter and flags */
497 /* spawn child processes */
500 if ((child = FORK_OR_VFORK()) == 0) {
511 if (child < 0) {
516 child_pid[i] = child;
519 /* Initialize second child lock structure */
584 child = wait(&status);
587 if (child == -1) {
606 if (child == child_pid[i])
625 tst_resm(TFAIL, "Test case %d: child %d %s "