Home | History | Annotate | Download | only in progs

Lines Matching refs:child

48     pid_t child;
51 child = 0;
311 child = fork();
312 if (child < 0) {
314 } else if (!child) {
324 if (!child) {
328 retval = kill(child, value);
330 perror("Unable to kill child process");
333 result = waitpid(child, &status, 0);
334 if (result != child) {
335 fprintf(stderr, "waitpid didn't match child: %u != %u\n",
336 child, result);
340 fprintf(stderr, "child terminated with odd signal (%d != %d)\n"
582 " --killit=<n> send signal(n) to child\n"
583 " --forkfor=<n> fork and make child sleep for <n> sec\n"