Lines Matching refs:pipe2_fd
169 int pipe2_fd[2]; /*Pipe file descriptors used for communication */ variable
223 maybe_run_child(&child1_rout, "ndddddd", 3, &pipe1_fd[1], &pipe2_fd[1], in main()
225 maybe_run_child(&child2_rout, "nd", 4, &pipe2_fd[1]); in main()
239 if (self_exec(argv0, "nd", 4, pipe2_fd[1]) < 0) { in main()
269 (argv0, "ndddddd", 3, pipe1_fd[1], pipe2_fd[1], in main()
318 while ((read(pipe2_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout()
370 read2_stat = read(pipe2_fd[0], pipe_buf, 1); in parent_rout()
481 (void)write(pipe2_fd[1], CHAR_SET_FAILED, 1); in child1_rout()
597 (void)write(pipe2_fd[1], CHAR_SET_FAILED, 1); in child2_rout()
602 (void)write(pipe2_fd[1], CHAR_SET_PASSED, 1); in child2_rout()
732 if ((pipe(pipe2_fd) == -1) in setup()
733 || (fcntl(pipe2_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
772 if (write(pipe2_fd[1], SIG_CAUGHT, 1) == -1) in usr1_rout()