| /src/tests/lib/librumphijack/ |
| t_cwd.sh | 48 test_case basic_fchdir /rump simple fchdir 50 test_case slash_fchdir // simple fchdir 52 test_case symlink_fchdir /rump symlink fchdir 54 test_case symlink_slash_fchdir // symlink fchdir
|
| h_cwd.c | 73 if (fchdir(fd) == -1) 74 err(EXIT_FAILURE, "fchdir %s", errmsg); 157 else if (strcmp(argv[3], "fchdir") == 0)
|
| /src/external/gpl2/xcvs/dist/lib/ |
| save-cwd.c | 47 /* On systems without the fchdir function (WOE), pretend that open 49 Since chdir_long requires fchdir, use chdir instead. */ 53 # undef fchdir macro 54 # define fchdir(Fd) (abort (), -1) macro 70 So, we prefer to use the open/fchdir approach, but fall back on 73 Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin, 99 Upon failure, return -1 (errno is set by chdir or fchdir). 106 return fchdir (cwd->desc);
|
| openat.c | 44 Simulate it by doing save_cwd/fchdir/open/restore_cwd. 77 if (fchdir (fd) != 0) 100 Simulate it by doing save_cwd/fchdir/opendir(".")/restore_cwd. 119 if (fchdir (fd) != 0) 142 Simulate it by doing save_cwd/fchdir/(stat|lstat)/restore_cwd. 163 if (fchdir (fd) != 0)
|
| chdir-long.c | 63 return fchdir (cdb->fd);
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| save-cwd.c | 51 So, we prefer to use the open/fchdir approach, but fall back on 55 Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin, 79 Upon failure, return -1 (errno is set by chdir or fchdir). 86 return fchdir (cwd->desc);
|
| at-func.c | 66 working directory. Otherwise, resort to using save_cwd/fchdir, 122 if (fchdir (fd) != 0)
|
| fchdir.c | 0 /* fchdir replacement. 199 /* Implement fchdir() in terms of chdir(). */ 202 fchdir (int fd) function
|
| chdir-long.c | 55 return fchdir (cdb->fd);
|
| fdopendir.c | 46 that, simulate it by using fchdir metadata, or by doing 47 save_cwd/fchdir/opendir(".")/restore_cwd. 133 falling back on fchdir metadata. Otherwise, CWD is a saved version 134 of the working directory; use fchdir/opendir(".")/restore_cwd(CWD). */ 212 if (fchdir (fd) != 0)
|
| openat.c | 177 Failing that, simulate it by doing save_cwd/fchdir/open/restore_cwd. 262 err = fchdir (fd);
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| save-cwd.c | 51 So, we prefer to use the open/fchdir approach, but fall back on 55 Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin, 79 Upon failure, return -1 (errno is set by chdir or fchdir). 86 return fchdir (cwd->desc);
|
| at-func.c | 66 working directory. Otherwise, resort to using save_cwd/fchdir, 122 if (fchdir (fd) != 0)
|
| fchdir.c | 0 /* fchdir replacement. 199 /* Implement fchdir() in terms of chdir(). */ 202 fchdir (int fd) function
|
| chdir-long.c | 55 return fchdir (cdb->fd);
|
| fdopendir.c | 46 that, simulate it by using fchdir metadata, or by doing 47 save_cwd/fchdir/opendir(".")/restore_cwd. 133 falling back on fchdir metadata. Otherwise, CWD is a saved version 134 of the working directory; use fchdir/opendir(".")/restore_cwd(CWD). */ 212 if (fchdir (fd) != 0)
|
| openat.c | 177 Failing that, simulate it by doing save_cwd/fchdir/open/restore_cwd. 262 err = fchdir (fd);
|
| /src/external/bsd/pkg_install/dist/lib/ |
| remove.c | 68 rv = fchdir(cwd); 126 * make sure to fchdir back to the original cwd. 148 if (did_chdir && fchdir(cwd) == -1)
|
| fexec.c | 149 if (fchdir(prevcwd) < 0) { 150 warn("fchdir prevcwd failed");
|
| /src/usr.sbin/sysinst/ |
| aout2elf.c | 433 if (fchdir(fd) < 0) { 443 (void)fchdir(fd);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| unistd.d | 2407 int fchdir(int); 2433 int fchdir(int) @trusted; 2477 int fchdir(int) @trusted; 2486 int fchdir(int) @trusted; 2511 int fchdir(int) @trusted; 2536 int fchdir(int) @trusted; 2561 int fchdir(int) @trusted; 2586 int fchdir(int) @trusted; 2608 int fchdir(int) @trusted; 2627 int fchdir(int) [all...] |
| /src/include/ |
| unistd.h | 262 int fchdir(int);
|
| /src/lib/libc/gen/ |
| fts.c | 106 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd)) 293 if (fchdir(sp->fts_rfd) == -1) 440 * FCHDIR() failed below. 453 if (FCHDIR(sp, sp->fts_rfd)) { 510 if (FCHDIR(sp, sp->fts_rfd)) { 515 if (FCHDIR(sp, p->fts_symfd)) { 617 if (fchdir(fd)) { 899 FCHDIR(sp, sp->fts_rfd) : 1233 ret = fchdir(fd) [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/ |
| unistd.h | 1454 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchdir.html>. */ 1456 _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); 1458 /* Gnulib internal hooks needed to maintain the fchdir metadata. */ 1467 _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); 1470 _GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); 1471 _GL_CXXALIASWARN (fchdir); variable 1473 # undef fchdir macro 1475 _GL_WARN_ON_USE (fchdir, "fchdir is unportable - " 1476 "use gnulib module fchdir for portability") [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/ |
| unistd.h | 1454 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchdir.html>. */ 1456 _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); 1458 /* Gnulib internal hooks needed to maintain the fchdir metadata. */ 1467 _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); 1470 _GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); 1471 _GL_CXXALIASWARN (fchdir); variable 1473 # undef fchdir macro 1475 _GL_WARN_ON_USE (fchdir, "fchdir is unportable - " 1476 "use gnulib module fchdir for portability") [all...] |