dup2 236 lib-src/seccomp-filter.c RULE (SCMP_ACT_ALLOW, SCMP_SYS (dup2)); dup2 66 lib/cloexec.c if (dup2 (desc, desc) < 0) dup2 145 lib/dup2.c dupfd = dup2 (fd, desired_fd); dup2 180 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 103 lib/pselect.c && dup2 (i, i) != i) dup2 500 lib/unistd.in.h _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); dup2 501 lib/unistd.in.h _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); dup2 507 lib/unistd.in.h _GL_CXXALIAS_MDA (dup2, int, (int oldfd, int newfd)); dup2 509 lib/unistd.in.h _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); dup2 511 lib/unistd.in.h _GL_CXXALIASWARN (dup2); dup2 515 lib/unistd.in.h _GL_WARN_ON_USE (dup2, "dup2 is unportable - " dup2 527 lib/unistd.in.h _GL_CXXALIAS_MDA (dup2, int, (int oldfd, int newfd)); dup2 529 lib/unistd.in.h _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); dup2 531 lib/unistd.in.h _GL_CXXALIASWARN (dup2); dup2 1263 src/callproc.c dup2 (in, STDIN_FILENO); dup2 1264 src/callproc.c dup2 (out, STDOUT_FILENO); dup2 1265 src/callproc.c dup2 (err, STDERR_FILENO); dup2 3397 src/emacs.c err |= dup2 (nfd, STDIN_FILENO) < 0; dup2 3398 src/emacs.c err |= dup2 (nfd, STDOUT_FILENO) < 0; dup2 3399 src/emacs.c err |= dup2 (nfd, STDERR_FILENO) < 0; dup2 3780 src/msdos.c dup2 (tempin, 0); dup2 3781 src/msdos.c dup2 (tempout, 1); dup2 3782 src/msdos.c dup2 (temperr, 2); dup2 3826 src/msdos.c dup2 (inbak, 0); dup2 3827 src/msdos.c dup2 (outbak, 1); dup2 3828 src/msdos.c dup2 (errbak, 2); dup2 973 src/print.c if (dup2 (fd, STDERR_FILENO) < 0) dup2 224 src/sysdep.c if (dup2 (fd, fd) < 0 && errno == EBADF) dup2 227 src/sysdep.c if (n < 0 || (fd != n && (dup2 (n, fd) < 0 || emacs_close (n) != 0)))