Lines Matching refs:fd_out
34 int fd_out, fd_in;
70 i_close_fd(&request->fd_out);
353 ret = write(request->fd_out, data + request->output_pos,
374 if (close(request->fd_out) < 0)
376 request->fd_out = -1;
381 int fd_in, int fd_out, bool authenticate)
387 if (dup2(fd_out, 3) < 0 || dup2(fd_in, 4) < 0) {
457 int fd_in[2], fd_out[2];
474 if (pipe(fd_in) < 0 || pipe(fd_out) < 0) {
492 i_close_fd(&fd_out[0]);
493 i_close_fd(&fd_out[1]);
502 i_close_fd(&fd_out[1]);
503 checkpassword_exec(db, request, fd_in[1], fd_out[0],
512 if (close(fd_out[0]) < 0) {
514 "close(fd_out[0]) failed: %m");
522 chkpw_auth_request->fd_out = fd_out[1];
534 io_add(fd_out[1], IO_WRITE, checkpassword_child_output,