new_fd 43 daemons/based/based_io.c int new_fd; new_fd 47 daemons/based/based_io.c new_fd = mkstemp(new); new_fd 49 daemons/based/based_io.c if ((new_fd < 0) || (rename(old, new) < 0)) { new_fd 54 daemons/based/based_io.c if (new_fd > 0) { new_fd 55 daemons/based/based_io.c close(new_fd); new_fd 75 maint/gnulib/lib/chdir-long.c int new_fd = openat (cdb->fd, dir, new_fd 77 maint/gnulib/lib/chdir-long.c if (new_fd < 0) new_fd 81 maint/gnulib/lib/chdir-long.c cdb->fd = new_fd; new_fd 40 maint/gnulib/lib/opendirat.c int new_fd = openat (dir_fd, dir, open_flags); new_fd 42 maint/gnulib/lib/opendirat.c if (new_fd < 0) new_fd 44 maint/gnulib/lib/opendirat.c DIR *dirp = fdopendir (new_fd); new_fd 46 maint/gnulib/lib/opendirat.c *pnew_fd = new_fd; new_fd 50 maint/gnulib/lib/opendirat.c close (new_fd); new_fd 841 maint/gnulib/lib/spawni.c int new_fd = open_not_cancel (action->action.open_action.path, new_fd 846 maint/gnulib/lib/spawni.c if (new_fd == -1) new_fd 851 maint/gnulib/lib/spawni.c if (new_fd != action->action.open_action.fd) new_fd 853 maint/gnulib/lib/spawni.c if (dup2 (new_fd, action->action.open_action.fd) new_fd 858 maint/gnulib/lib/spawni.c if (close_not_cancel (new_fd) != 0) new_fd 52 maint/gnulib/lib/stdopen.c int new_fd = full_fd < 0 ? open ("/dev/null", mode) : full_fd; new_fd 53 maint/gnulib/lib/stdopen.c if (new_fd < 0) new_fd 55 maint/gnulib/lib/stdopen.c if (STDERR_FILENO < new_fd) new_fd 59 maint/gnulib/lib/stdopen.c close (new_fd); new_fd 88 maint/gnulib/tests/test-fchdir.c int new_fd = dup (fd); new_fd 89 maint/gnulib/tests/test-fchdir.c ASSERT (0 <= new_fd); new_fd 91 maint/gnulib/tests/test-fchdir.c ASSERT (dup2 (new_fd, fd) == fd); new_fd 92 maint/gnulib/tests/test-fchdir.c ASSERT (close (new_fd) == 0); new_fd 93 maint/gnulib/tests/test-fchdir.c ASSERT (dup_cloexec (fd) == new_fd); new_fd 94 maint/gnulib/tests/test-fchdir.c ASSERT (dup2 (new_fd, fd) == fd); new_fd 95 maint/gnulib/tests/test-fchdir.c ASSERT (close (new_fd) == 0); new_fd 96 maint/gnulib/tests/test-fchdir.c ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, new_fd) == new_fd); new_fd 98 maint/gnulib/tests/test-fchdir.c ASSERT (fcntl (new_fd, F_DUPFD, fd) == fd); new_fd 99 maint/gnulib/tests/test-fchdir.c ASSERT (close (new_fd) == 0); new_fd 101 maint/gnulib/tests/test-fchdir.c ASSERT (dup3 (fd, new_fd, 0) == new_fd); new_fd 102 maint/gnulib/tests/test-fchdir.c ASSERT (dup3 (new_fd, fd, 0) == fd); new_fd 103 maint/gnulib/tests/test-fchdir.c ASSERT (close (new_fd) == 0);