Lines Matching refs:pipe_fd
36 static int pipe_fd[2];
63 SAFE_CLOSE(pipe_fd[1]);
69 SAFE_FCNTL(pipe_fd[0], F_SETOWN, pid);
70 SAFE_FCNTL(pipe_fd[0], F_SETSIG, SIGUSR1);
71 flags = SAFE_FCNTL(pipe_fd[0], F_GETFL);
72 SAFE_FCNTL(pipe_fd[0], F_SETFL, flags | O_ASYNC);
89 if (info.si_fd == pipe_fd[0] && info.si_code == POLL_IN)
96 SAFE_CLOSE(pipe_fd[0]);
99 SAFE_WRITE(SAFE_WRITE_ALL, pipe_fd[1], "test\n", 5);
112 SAFE_PIPE(pipe_fd);
120 SAFE_CLOSE(pipe_fd[0]);
121 SAFE_CLOSE(pipe_fd[1]);