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