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