Lines Matching refs:pipe
123 r = pipe2(b->pipe, O_CLOEXEC | O_NONBLOCK);
149 safe_close_pair(b->pipe);
176 assert(b->pipe[0] >= 0 && b->pipe[1] >= 0);
179 b->pipe[1] = safe_close(b->pipe[1]);
181 b->pipe[0] = safe_close(b->pipe[0]);
220 * pipe-ends and treat this as abortion. The other end will notice the
221 * pipe-close and treat it as abortion, too. */
223 safe_close_pair(b->pipe);
235 { .fd = b->pipe[0] >= 0 ? b->pipe[0] : b->pipe[1],
259 /* POLLHUP on the pipe tells us the other side exited.
283 * pipe-ends and treat this as abortion. The other end will notice the
284 * pipe-close and treat it as abortion, too. */
286 safe_close_pair(b->pipe);