dup2              118 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd, fd) == fd);
dup2              123 gnulib-tests/test-dup2.c   ASSERT (dup2 (-1, fd) == -1);
dup2              126 gnulib-tests/test-dup2.c   ASSERT (dup2 (AT_FDCWD, fd) == -1);
dup2              132 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 1, fd + 1) == -1);
dup2              136 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 1, fd) == -1);
dup2              142 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd, -2) == -1);
dup2              145 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd, 10000000) == -1);
dup2              149 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd, fd + 2) == fd + 2);
dup2              156 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 1, fd) == fd);
dup2              159 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 2, fd) == fd);
dup2              171 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 1, fd + 1) == fd + 1);
dup2              173 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 1, fd + 2) == fd + 2);
dup2              177 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd + 1, -1) == -1);
dup2              186 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd, fd + 1) == fd + 1);
dup2              190 gnulib-tests/test-dup2.c   ASSERT (dup2 (fd, fd + 1) == fd + 1);
dup2               45 gnulib-tests/test-freopen-safer.c   if (dup2 (STDERR_FILENO, BACKUP_STDERR_FILENO) != BACKUP_STDERR_FILENO
dup2               72 gnulib-tests/test-getopt.c   if (dup2 (STDERR_FILENO, BACKUP_STDERR_FILENO) != BACKUP_STDERR_FILENO
dup2               67 lib/dup2.c       result = dup2 (fd, desired_fd);
dup2              280 lib/fcntl.c            if (0 <= dup2 (fd, fd))
dup2               70 lib/freopen-safer.c       if (dup2 (STDERR_FILENO, STDERR_FILENO) != STDERR_FILENO)
dup2               74 lib/freopen-safer.c       if (dup2 (STDOUT_FILENO, STDOUT_FILENO) != STDOUT_FILENO)
dup2               78 lib/freopen-safer.c       if (dup2 (STDIN_FILENO, STDIN_FILENO) != STDIN_FILENO)
dup2             1194 src/diff3.c    	  dup2 (fds[1], STDOUT_FILENO);
dup2              651 src/sdiff.c    		dup2 (diff_fds[1], STDOUT_FILENO);
dup2              210 src/util.c     		if (dup2 (pipes[0], STDIN_FILENO) < 0)