/macosx-10.9.5/gnutar-452/gnutar/lib/ |
H A D | save-cwd.c | 36 /* On systems without the fchdir function (WOE), pretend that open 38 Since chdir_long requires fchdir, use chdir instead. */ 42 # undef fchdir macro 43 # define fchdir(Fd) (abort (), -1) macro 59 So, we prefer to use the open/fchdir approach, but fall back on 62 Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin, 84 Upon failure, return -1 (errno is set by chdir or fchdir). 91 return fchdir (cwd->desc);
|
H A D | unistd_.h | 95 <http://www.opengroup.org/susv3xsh/fchdir.html>. */ 96 extern int fchdir (int /*fd*/); 107 # undef fchdir macro 108 # define fchdir(f) \ macro 109 (GL_LINK_WARNING ("fchdir is unportable - " \ 110 "use gnulib module fchdir for portability"), \ 111 fchdir (f))
|
H A D | at-func.c | 28 working directory. Otherwise, resort to using save_cwd/fchdir, 66 if (fchdir (fd) != 0)
|
H A D | openat.c | 37 Failing that, simulate it by doing save_cwd/fchdir/open/restore_cwd. 116 err = fchdir (fd); 165 that, simulate it by doing save_cwd/fchdir/opendir(".")/restore_cwd. 201 if (fchdir (fd) != 0) 231 Failing that, simulate it via save_cwd/fchdir/(stat|lstat)/restore_cwd. 253 Failing that, simulate it via save_cwd/fchdir/(unlink|rmdir)/restore_cwd.
|
H A D | chdir-long.c | 52 return fchdir (cdb->fd);
|
H A D | fchdir.c | 0 /* fchdir replacement. 251 /* Implement fchdir() in terms of chdir(). */ 254 fchdir (int fd) function
|
H A D | gnulib.mk | 264 ## begin gnulib module fchdir 281 EXTRA_DIST += dirent_.h fchdir.c 283 EXTRA_libtar_a_SOURCES += fchdir.c 285 ## end gnulib module fchdir
|
/macosx-10.9.5/vim-53/src/ |
H A D | osdef2.h.in | 27 extern int fchdir __ARGS((int));
|
H A D | os_unix.c | 2370 static int dont_fchdir = FALSE; /* TRUE when fchdir() doesn't work */ 2415 * Use fchdir() if possible, it's said to be faster and more 2417 * doing a fchdir() right now. 2422 if (fd >= 0 && fchdir(fd) < 0) 2491 MSG("fchdir() to previous dir"); 2494 l = fchdir(fd);
|
/macosx-10.9.5/CPANInternal-140/PathTools/ |
H A D | Cwd.xs | 183 if (fchdir(fd) < 0) { 202 (void)fchdir(fd);
|
/macosx-10.9.5/Libc-997.90.3/gen/ |
H A D | nftw.c | 238 if (fchdir(cwd_fd) < 0) {
|
H A D | fts.c | 87 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd)) 333 if (fchdir(sp->fts_rfd)) { 640 if (fchdir(fd))
|
/macosx-10.9.5/xnu-2422.115.4/bsd/man/man2/ |
H A D | Makefile | 42 fchdir.2 \
|
/macosx-10.9.5/libarchive-29/libarchive/contrib/shar/ |
H A D | tree.c | 43 * regular dir or via fchdir(2) for a symlink). 238 fchdir(te->fd); 537 fchdir(t->initialDirFd);
|
/macosx-10.9.5/libarchive-29/libarchive/examples/minitar/ |
H A D | tree.c | 38 * regular dir or via fchdir(2) for a symlink). 197 fchdir(te->fd); 382 fchdir(t->initialDirFd);
|
/macosx-10.9.5/libarchive-29/libarchive/tar/ |
H A D | tree.c | 44 * regular dir or via fchdir(2) for a symlink). 100 #error fchdir function required. 341 if (fchdir(te->symlink_parent_fd) != 0) { 807 int s = fchdir(t->initialDirFd);
|
/macosx-10.9.5/kext_tools-326.95.1/ |
H A D | safecalls.c | 36 * fchdir(savedir) 206 if ((bsderr = fchdir(dirfd))) goto finish; 276 cherr = fchdir(savedir);
|
/macosx-10.9.5/Libc-997.90.3/include/ |
H A D | unistd.h | 621 int fchdir(int);
|
/macosx-10.9.5/zsh-60/zsh/Src/ |
H A D | compat.c | 241 * whether the fchdir() system call is available; if it is, it is assumed 501 if (fchdir(currdir) < 0) {
|
/macosx-10.9.5/libarchive-29/libarchive/ |
H A D | CMakeLists.txt | 374 CHECK_FUNCTION_EXISTS_GLIBC(fchdir HAVE_FCHDIR)
|
/macosx-10.9.5/file_cmds-230/pax/ |
H A D | ar_subs.c | 97 if (fchdir(fcwd) == -1) {
|
/macosx-10.9.5/shell_cmds-175/find/ |
H A D | function.c | 708 if (!(plan->flags & F_EXECDIR) && fchdir(dotfd)) {
|
/macosx-10.9.5/libarchive-29/libarchive/libarchive/ |
H A D | archive_write_disk.c | 457 r = fchdir(a->restore_pwd);
|
/macosx-10.9.5/launchd-842.92.1/support/ |
H A D | launchctl.c | 4275 (void)posix_assumes_zero(fchdir(currend_dir_fd));
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/ |
H A D | tests.c | 764 * Test chdir and fchdir system calls. 829 /* now change our current directory to "/" and use fchdir to get back to our test directory */ 843 /* get a file descriptor to the test directory for use with fchdir */ 851 my_err = fchdir( my_fd ); 853 printf( "fchdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
|