Searched refs:dup2 (Results 1 - 25 of 43) sorted by relevance

12

/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Ddaemon.c71 (void)dup2(fd, STDIN_FILENO);
72 (void)dup2(fd, STDOUT_FILENO);
73 (void)dup2(fd, STDERR_FILENO);
/osnet-11/usr/src/lib/libast/common/comp/
H A Ddup2.c28 NoN(dup2)
35 dup2(int d1, int d2)
H A Dfcntl.c66 op = dup2(fd, n);
/osnet-11/usr/src/lib/libc/port/gen/
H A Ddup.c41 #pragma weak _dup2 = dup2
43 dup2(int fildes, int fildes2) function
H A Ddaemon.c86 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)) {
/osnet-11/usr/src/lib/libproc/common/
H A Dproc_stdio.c70 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);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/
H A Ddaemon.c87 (void) dup2(devnull, 0);
88 (void) dup2(devnull, 1);
89 (void) dup2(devnull, 2);
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c58 (void) dup2(p[1], 3);
65 (void) dup2(red, 1);
66 (void) dup2(red, 2);
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgexecv.c354 (void) dup2(n, STDIN_FILENO);
364 (void) dup2(n, STDIN_FILENO);
394 (void) dup2(n, STDOUT_FILENO);
409 (void) dup2(n, STDOUT_FILENO);
417 (void) dup2(STDOUT_FILENO, STDERR_FILENO);
H A Druncmd.c163 (void) dup2(ifd, STDIN_FILENO);
167 (void) dup2(ofd, STDOUT_FILENO);
172 dup2(i, STDERR_FILENO);
419 (void) dup2(stdinfile, STDIN_FILENO);
421 (void) dup2(ipipe[1], STDOUT_FILENO);
422 (void) dup2(ipipe[1], STDERR_FILENO);
/osnet-11/usr/src/lib/krb5/ss/
H A Dpager.c70 if (dup2(filedes[0], 0) == -1)
H A Dhelp.c84 (void) dup2(fd, 0); /* put file on stdin */
/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_exec.c240 (void) dup2(stdinfile, STDIN_FILENO);
242 (void) dup2(ipipe[1], STDOUT_FILENO);
243 (void) dup2(ipipe[1], STDERR_FILENO);
838 (void) dup2(stdinfile, STDIN_FILENO);
840 (void) dup2(ipipe[1], STDOUT_FILENO);
841 (void) dup2(ipipe[1], STDERR_FILENO);
/osnet-11/usr/src/lib/libadr/common/
H A Dadr_stream.c131 (void) dup2(fd, fdstr->infd);
133 (void) dup2(fd, fdstr->outfd);
240 (void) dup2(fd, sslstr->fd);
/osnet-11/usr/src/cmd/hal/hald/
H A Dhald.c504 dup2 (dev_null_fd, 0);
505 dup2 (dev_null_fd, 1);
506 dup2 (dev_null_fd, 2);
/osnet-11/usr/src/lib/libcmdutils/common/
H A Ddecompress.c171 (void) dup2(inputfd, 0); /* refer to inputfd as 0 */
172 (void) dup2(fd[0], 1); /* refer out fd[0] as stdout */
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dunistd.in.h287 <http://www.opengroup.org/susv3xsh/dup2.html>. */
290 # define dup2 rpl_dup2
292 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd));
293 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd));
296 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd));
298 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd));
300 _GL_CXXALIASWARN (dup2);
302 # undef dup2
304 _GL_WARN_ON_USE (dup2, "dup2 i
[all...]
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c592 (void) dup2(xfd, fileno(stdin));
593 (void) dup2(xfd, fileno(stdout));
594 (void) dup2(xfd, fileno(stderr));
/osnet-11/usr/src/lib/ncad_addr/common/
H A Dncad_addr.c243 (void) dup2(new_sock, sock);
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_delete.c579 goto dup2;
588 goto dup2;
612 dup2: c->pg.pgno = e.page->pgno;
/osnet-11/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c299 (void) dup2(fd_new, fd);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A DXSUB.h432 # define dup2 PerlLIO_dup2 macro
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.pm884 dup2 dup execl execle execlp execv execve execvp
/osnet-11/usr/src/cmd/sendmail/src/
H A Dmain.c3363 (void) dup2(fd, STDOUT_FILENO);
3364 (void) dup2(fd, STDERR_FILENO);
3925 (void) dup2(i, fd);
H A Dutil.c2074 if (dup2(fdv[1], 1) < 0)
2076 syserr("%s: cannot dup2 for stdout", argv[0]);
2087 if (xfd >= 0 && dup2(xfd, 2) < 0)
2089 syserr("%s: cannot dup2 for stderr", argv[0]);

Completed in 156 milliseconds

12