dup2 236 lib-src/seccomp-filter.c RULE (SCMP_ACT_ALLOW, SCMP_SYS (dup2)); dup2 65 lib/cloexec.c if (dup2 (desc, desc) < 0) dup2 144 lib/dup2.c dupfd = dup2 (fd, desired_fd); dup2 179 lib/dup2.c result = dup2 (fd, desired_fd); dup2 241 lib/fcntl.c if (0 <= dup2 (fd, fd)) dup2 574 lib/fcntl.c result = dup2 (fd, arg); dup2 111 lib/pselect.c && dup2 (i, i) != i) dup2 521 lib/unistd.in.h _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); dup2 522 lib/unistd.in.h _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); dup2 528 lib/unistd.in.h _GL_CXXALIAS_MDA (dup2, int, (int oldfd, int newfd)); dup2 530 lib/unistd.in.h _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); dup2 532 lib/unistd.in.h _GL_CXXALIASWARN (dup2); dup2 536 lib/unistd.in.h _GL_WARN_ON_USE (dup2, "dup2 is unportable - " dup2 548 lib/unistd.in.h _GL_CXXALIAS_MDA (dup2, int, (int oldfd, int newfd)); dup2 550 lib/unistd.in.h _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); dup2 552 lib/unistd.in.h _GL_CXXALIASWARN (dup2); dup2 1281 src/android.c if (dup2 (pipefd[1], 2) < 0) dup2 1285 src/callproc.c dup2 (in, STDIN_FILENO); dup2 1286 src/callproc.c dup2 (out, STDOUT_FILENO); dup2 1287 src/callproc.c dup2 (err, STDERR_FILENO); dup2 3522 src/emacs.c err |= dup2 (nfd, STDIN_FILENO) < 0; dup2 3523 src/emacs.c err |= dup2 (nfd, STDOUT_FILENO) < 0; dup2 3524 src/emacs.c err |= dup2 (nfd, STDERR_FILENO) < 0; dup2 3787 src/msdos.c dup2 (tempin, 0); dup2 3788 src/msdos.c dup2 (tempout, 1); dup2 3789 src/msdos.c dup2 (temperr, 2); dup2 3833 src/msdos.c dup2 (inbak, 0); dup2 3834 src/msdos.c dup2 (outbak, 1); dup2 3835 src/msdos.c dup2 (errbak, 2); dup2 973 src/print.c if (dup2 (fd, STDERR_FILENO) < 0) dup2 232 src/sysdep.c if (dup2 (fd, fd) < 0 && errno == EBADF) dup2 235 src/sysdep.c if (n < 0 || (fd != n && (dup2 (n, fd) < 0 || emacs_close (n) != 0)))