Searched refs:fchdir (Results 1 - 19 of 19) sorted by relevance

/netbsd-6-1-5-RELEASE/tests/lib/librumphijack/
H A Dt_cwd.sh48 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 A Dh_cwd.c72 if (fchdir(fd) == -1)
73 err(1, "fchdir %s", errmsg);
156 else if (strcmp(argv[3], "fchdir") == 0)
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dsave-cwd.c44 /* On systems without the fchdir function (WOE), pretend that open
46 Since chdir_long requires fchdir, use chdir instead. */
50 # undef fchdir macro
51 # define fchdir(Fd) (abort (), -1) macro
67 So, we prefer to use the open/fchdir approach, but fall back on
70 Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin,
96 Upon failure, return -1 (errno is set by chdir or fchdir).
103 return fchdir (cwd->desc);
H A Dopenat.c41 Simulate it by doing save_cwd/fchdir/open/restore_cwd.
74 if (fchdir (fd) != 0)
97 Simulate it by doing save_cwd/fchdir/opendir(".")/restore_cwd.
116 if (fchdir (fd) != 0)
139 Simulate it by doing save_cwd/fchdir/(stat|lstat)/restore_cwd.
160 if (fchdir (fd) != 0)
H A Dchdir-long.c60 return fchdir (cdb->fd);
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/lib/
H A Dremove.c68 rv = fchdir(cwd);
126 * make sure to fchdir back to the original cwd.
148 if (did_chdir && fchdir(cwd) == -1)
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Daout2elf.c435 if (fchdir(fd) < 0) {
445 (void)fchdir(fd);
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/tar/
H A Dtree.c44 * 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);
/netbsd-6-1-5-RELEASE/include/
H A Dunistd.h245 int fchdir(int);
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dfts.c89 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))
277 if (fchdir(sp->fts_rfd) == -1)
590 if (fchdir(fd)) {
1208 ret = fchdir(fd);
/netbsd-6-1-5-RELEASE/lib/libc/sys/
H A DMakefile.inc90 faccessat.S fchdir.S fchflags.S fchmod.S fchmodat.S fchown.S \
253 MLINKS+=chdir.2 fchdir.2
/netbsd-6-1-5-RELEASE/usr.bin/find/
H A Dfunction.c554 if (fchdir(dotfd)) {
586 if (fchdir(dotfd)) {
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dar_subs.c101 if (fchdir(fcwd) == -1) {
/netbsd-6-1-5-RELEASE/usr.bin/man/
H A Dman.c732 * can fchdir() back to it. this allows relative MANDIR paths
786 fchdir(olddir);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dsys-protos.h322 extern int fchdir(int);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32r/
H A Dtraps-linux.c1134 result = fchdir(arg1);
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_disk.c457 r = fchdir(a->restore_pwd);
/netbsd-6-1-5-RELEASE/lib/librumphijack/
H A Dhijack.c224 { DUALCALL_FCHDIR, "fchdir", RSYS_NAME(FCHDIR) },
1010 fchdir(int fd) function
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/
H A Dconfigure1995 gl_func_list="$gl_func_list fchdir"
32079 fchdir \
[all...]

Completed in 377 milliseconds