bin/ksh/eval.c
885
ksh_dup2(pv[1], 1, false);
bin/ksh/exec.c
1223
if (ksh_dup2(u, iop->unit, true) < 0) {
bin/ksh/exec.c
170
(void) ksh_dup2(e->savefd[0], 0, false); /* stdin of first */
bin/ksh/exec.c
174
(void) ksh_dup2(pv[1], 1, false); /* stdout of curr */
bin/ksh/exec.c
181
(void) ksh_dup2(pv[0], 0, false); /* stdin of next */
bin/ksh/exec.c
233
ksh_dup2(pv[0], 0, false);
bin/ksh/exec.c
240
ksh_dup2(coproc.readw, 1, false);
bin/ksh/exec.c
244
ksh_dup2(pv[1], 1, false);
bin/ksh/io.c
280
ksh_dup2(ofd, fd, true); /* XXX: what to do if this fails? */
bin/ksh/jobs.c
619
(void) ksh_dup2(fd, 0, true);
bin/ksh/proto.h
124
int ksh_dup2 ARGS((int, int, int));