HomeSort by: relevance | last modified time | path
    Searched refs:DUP2 (Results 1 - 9 of 9) sorted by relevancy

  /src/external/ibm-public/postfix/dist/src/util/
spawn_command.c 248 if ((args.stdin_fd >= 0 && DUP2(args.stdin_fd, STDIN_FILENO) < 0)
249 || (args.stdout_fd >= 0 && DUP2(args.stdout_fd, STDOUT_FILENO) < 0)
250 || (args.stderr_fd >= 0 && DUP2(args.stderr_fd, STDERR_FILENO) < 0))
251 msg_fatal("%s: dup2: %m", myname);
vstream_popen.c 228 if (DUP2(sockfd[0], fd) < 0)
229 msg_fatal("dup2: %m");
sys_defs.h 1328 #define DUP2 dup2_pass_on_exec
1330 #define DUP2 dup2
  /src/external/ibm-public/postfix/dist/src/master/
master_spawn.c 199 if (DUP2(master_flow_pipe[0], MASTER_FLOW_READ) < 0)
200 msg_fatal("%s: dup2: %m", myname);
207 if (DUP2(master_flow_pipe[1], MASTER_FLOW_WRITE) < 0)
208 msg_fatal("%s: dup2: %m", myname);
215 if (DUP2(serv->status_fd[1], MASTER_STATUS_FD) < 0)
216 msg_fatal("%s: dup2 status_fd: %m", myname);
222 if (DUP2(serv->listen_fd[n], MASTER_LISTEN_FD + n) < 0)
223 msg_fatal("%s: dup2 listen_fd %d: %m",
event_server.c 348 if (DUP2(STDIN_FILENO, fd) < 0)
349 msg_warn("%s: dup2(%d, %d): %m", myname, STDIN_FILENO, fd);
multi_server.c 316 if (DUP2(STDIN_FILENO, fd) < 0)
317 msg_warn("%s: dup2(%d, %d): %m", myname, STDIN_FILENO, fd);
  /src/external/ibm-public/postfix/dist/src/global/
pipe_command.c 513 if (DUP2(cmd_in_pipe[0], STDIN_FILENO) < 0
514 || DUP2(cmd_out_pipe[1], STDOUT_FILENO) < 0
515 || DUP2(cmd_out_pipe[1], STDERR_FILENO) < 0)
516 msg_fatal("%s: dup2: %m", myname);
scache.c 253 if (DUP2(0, fd) < 0)
254 msg_fatal("dup2(0, %d): %m", fd);
  /src/lib/librumphijack/
hijack.c 331 { DUALCALL_DUP2, "dup2", RSYS_NAME(DUP2) },
453 * Maintain a mapping table for the usual dup2 suspects.
1570 * for the file descriptors not dup2'd.
1603 * of dup2 to [012], but I'm not sure if
1606 * dup2(rumpfd, 2) followed by rump_sys_open()
1853 * dup2 is special. we allow dup2 of a rump kernel fd to 0-2 since
1854 * many programs do that. dup2 of a rump kernel fd to another value
1860 dup2(int oldd, int newd function
    [all...]

Completed in 41 milliseconds