bin/ksh/eval.c
921
ksh_dup2(pv[1], 1, false);
bin/ksh/exec.c
1153
if (ksh_dup2(u, iop->unit, true) < 0) {
bin/ksh/exec.c
146
(void) ksh_dup2(pv[1], 1, false); /* stdout of curr */
bin/ksh/exec.c
153
(void) ksh_dup2(pv[0], 0, false); /* stdin of next */
bin/ksh/exec.c
203
ksh_dup2(pv[0], 0, false);
bin/ksh/exec.c
210
ksh_dup2(coproc.readw, 1, false);
bin/ksh/exec.c
214
ksh_dup2(pv[1], 1, false);
bin/ksh/io.c
285
ksh_dup2(ofd, fd, true); /* XXX: what to do if this fails? */
bin/ksh/jobs.c
512
(void) ksh_dup2(fd, 0, true);
bin/ksh/sh.h
487
int ksh_dup2(int, int, int);