Lines Matching refs:pp
725 nxt_pipe_create(nxt_task_t *task, nxt_fd_t *pp, nxt_bool_t nbread, in nxt_pipe_create() argument
728 if (pipe(pp) != 0) { in nxt_pipe_create()
734 nxt_debug(task, "pipe(): %FD:%FD", pp[0], pp[1]); in nxt_pipe_create()
737 if (nxt_fd_nonblocking(task, pp[0]) != NXT_OK) { in nxt_pipe_create()
743 if (nxt_fd_nonblocking(task, pp[1]) != NXT_OK) { in nxt_pipe_create()
753 nxt_pipe_close(nxt_task_t *task, nxt_fd_t *pp) in nxt_pipe_close() argument
755 nxt_debug(task, "pipe close(%FD:%FD)", pp[0], pp[1]); in nxt_pipe_close()
757 if (close(pp[0]) != 0) { in nxt_pipe_close()
758 nxt_alert(task, "pipe close(%FD) failed %E", pp[0], nxt_errno); in nxt_pipe_close()
761 if (close(pp[1]) != 0) { in nxt_pipe_close()
762 nxt_alert(task, "pipe close(%FD) failed %E", pp[1], nxt_errno); in nxt_pipe_close()