Lines Matching refs:pipe_wr
87 int pipe_wr; member
413 state->pipe_wr = pipe_fd[1]; in daemon_eventloop()
442 close(state->pipe_wr); in daemon_eventloop()
443 state->pipe_wr = -1; in daemon_eventloop()
544 assert(state->pipe_wr == -1); in daemon_sleep()
794 .pipe_wr = -1, in daemon_state_init()
827 if (state->pipe_wr >= 0) { in daemon_terminate()
828 close(state->pipe_wr); in daemon_terminate()
872 if (dup2(state->pipe_wr, STDERR_FILENO) == -1) { in daemon_set_child_pipe()
877 if (dup2(state->pipe_wr, STDOUT_FILENO) == -1) { in daemon_set_child_pipe()
881 if (state->pipe_wr != STDERR_FILENO && in daemon_set_child_pipe()
882 state->pipe_wr != STDOUT_FILENO) { in daemon_set_child_pipe()
883 close(state->pipe_wr); in daemon_set_child_pipe()