Lines Matching refs:pipe_fds
133 int pipe_fds[2] = {-1, -1};
167 if (pipe(pipe_fds) < 0) {
182 close(pipe_fds[0]);
183 close(pipe_fds[1]);
200 if (close(pipe_fds[0]) < 0) {
206 if (move_fd_up(&pipe_fds[1]) < 0)
283 if (atomic_write(pipe_fds[1], &dpid, sizeof(dpid)) != sizeof(dpid)) {
288 if (close(pipe_fds[1]) < 0) {
297 close(pipe_fds[1]);
304 if (atomic_write(pipe_fds[1], &dpid, sizeof(dpid)) != sizeof(dpid))
307 close(pipe_fds[1]);
314 close(pipe_fds[1]);
318 close(pipe_fds[0]);
328 if (atomic_read(pipe_fds[0], &dpid, sizeof(dpid)) != sizeof(dpid)) {
336 close(pipe_fds[0]);