Lines Matching defs:child1
71 static int parent, child1, child2, status;
110 perror("open on child1 file failed");
132 perror("child1 sigprocmask SIG_BLOCK fail");
140 perror("child1 signal to parent failed");
153 perror("pause in child1 terminated without "
160 perror("child1 sigprocmask SIG_SETMASK fail");
187 if ((child1 = FORK_OR_VFORK()) < 0) {
192 /* child1 */
193 if (child1 == 0) {
205 * need to wait for child1 to open, and lock the area of the
503 if ((kill(child1, SIGUSR2)) < 0) {
504 perror("Signal to child1 failed");