Lines Matching refs:dup2
6239 ";A dup2 file_action tuple must have 3 elements",
7503 if (dup2(fd, 0) == -1 || dup2(fd, 1) == -1 || dup2(fd, 2) == -1) {
9416 // dup2() is either provided by libc or dup2.c with AC_REPLACE_FUNCS().
9417 // dup2.c provides working dup2() if and only if F_DUPFD is available.
9420 os.dup2 -> int
9439 /* dup2() can fail with EINTR if the target FD is already open, because it
9446 res = dup2(fd, fd2);
9453 res = fd2; // msvcrt dup2 returns 0 on success.
9466 res = dup2(fd, fd2);
9494 res = dup2(fd, fd2);