/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | dup2.c | 28 NoN(dup2) 35 dup2(int d1, int d2)
|
H A D | fcntl.c | 66 op = dup2(fd, n);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_stdio.c | 70 if (dup2(fd, 1) < 0) { 81 (void) dup2(cached_stdout_fd, 1); 89 if (dup2(fd, 2) < 0) { 91 (void) dup2(cached_stdout_fd, 1); 93 (void) dup2(cached_stderr_fd, 2); 165 (void) dup2(cached_stdout_fd, 1); 167 (void) dup2(cached_stderr_fd, 2);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | daemon.c | 86 if ((fd != STDIN_FILENO) && (dup2(fd, STDIN_FILENO) < 0)) { 90 if ((fd != STDOUT_FILENO) && (dup2(fd, STDOUT_FILENO) < 0)) { 94 if ((fd != STDERR_FILENO) && (dup2(fd, STDERR_FILENO) < 0)) {
|
H A D | dup.c | 44 #pragma weak _dup2 = dup2 46 dup2(int fildes, int fildes2) function 63 * This call differs from dup2 such that it is an error when
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | passprompt.c | 58 (void) dup2(p[1], 3); 65 (void) dup2(red, 1); 66 (void) dup2(red, 2);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | dup2.c | 37 dup2( function
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 356 (void) dup2(n, STDIN_FILENO); 366 (void) dup2(n, STDIN_FILENO); 396 (void) dup2(n, STDOUT_FILENO); 411 (void) dup2(n, STDOUT_FILENO); 419 (void) dup2(STDOUT_FILENO, STDERR_FILENO);
|
H A D | runcmd.c | 140 (void) dup2(ifd, STDIN_FILENO); 144 (void) dup2(ofd, STDOUT_FILENO); 149 (void) dup2(i, STDERR_FILENO); 396 (void) dup2(stdinfile, STDIN_FILENO); 398 (void) dup2(ipipe[1], STDOUT_FILENO); 399 (void) dup2(ipipe[1], STDERR_FILENO);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/ |
H A D | slpd.c | 218 (void) dup2(connfd, 0); 220 (void) dup2(0, 1); 221 (void) dup2(0, 2);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_main.c | 126 (void) dup2(i, 1); 127 (void) dup2(i, 2);
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | unistd.h | 116 extern int dup2(int, int);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | trace.c | 94 (void) dup2(fileno(ftrace), 1); 95 (void) dup2(fileno(ftrace), 2); 106 (void) dup2(fileno(ftrace), 1); 107 (void) dup2(fileno(ftrace), 2);
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | pager.c | 53 if (dup2(filedes[0], 0) == -1)
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 241 (void) dup2(stdinfile, STDIN_FILENO); 243 (void) dup2(ipipe[1], STDOUT_FILENO); 244 (void) dup2(ipipe[1], STDERR_FILENO); 839 (void) dup2(stdinfile, STDIN_FILENO); 841 (void) dup2(ipipe[1], STDOUT_FILENO); 842 (void) dup2(ipipe[1], STDERR_FILENO);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_svc.c | 248 (void) dup2(i, 1); 249 (void) dup2(i, 2);
|
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mddoors.c | 227 (void) dup2(i, 1); 228 (void) dup2(i, 2);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 105 dup2(fd, 1); 245 dup2(fd, 1);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | popen.c | 63 (void) dup2(hisside, stdio);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.fingerd.c | 120 dup2(p[1], 1);
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.c | 169 (void) dup2(fd, 1); 170 (void) dup2(fd, 2); 373 (void) dup2(0, 1); 374 (void) dup2(0, 2);
|
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/ |
H A D | fksmbd_ksock.c | 89 (void) dup2(fd, 0);
|
/illumos-gate/usr/src/cmd/script/ |
H A D | script.c | 210 (void) dup2(slave, 0); 211 (void) dup2(slave, 1); 212 (void) dup2(slave, 2);
|
/illumos-gate/usr/src/cmd/enhance/ |
H A D | enhance.c | 539 while(dup2(slave, STDIN_FILENO) < 0 && errno==EINTR) 541 while(dup2(slave, STDOUT_FILENO) < 0 && errno==EINTR) 543 while(dup2(slave, STDERR_FILENO) < 0 && errno==EINTR)
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald.c | 508 dup2 (dev_null_fd, 0); 509 dup2 (dev_null_fd, 1); 510 dup2 (dev_null_fd, 2);
|