Home
last modified time | relevance | path

Searched refs:chdir (Results 1 – 25 of 510) sorted by relevance

12345678910>>...21

/netbsd/regress/sys/kern/getcwd/
H A Dgetcwd.c253 chdir ("/"); in test___getcwd_perms()
266 chdir ("/"); in test___getcwd_perms()
307 chdir("subdir"); in test___getcwd_chroot()
325 chdir ("/"); in test___getcwd_chroot()
339 chdir("/"); in test___getcwd()
356 chdir("/sbin"); in test___getcwd()
364 chdir("/usr/bin"); in test___getcwd()
368 chdir("/tmp"); in test___getcwd()
371 chdir(bigname); in test___getcwd()
382 chdir("/tmp"); in test___getcwd()
[all …]
/netbsd/etc/rc.d/
H A Drtadvd26 [ -z "${chdir}" ] || [ "/${chdir}" = // ] && return 0
51 echo "${name}: copying ${conf} to ${chdir}${conf}"
52 mkdir -p "${chdir}${confdir}"
53 cp "${conf}" "${chdir}${conf}" || return 1
57 mkdir -p "${chdir}/var/run"
60 ln -snf "${chdir}/var/run/${name}.dump" /var/run
/netbsd/external/gpl2/xcvs/dist/m4/
H A Dchdir-long.m43 # Use Gnulib's robust chdir function.
7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
18 AC_LIBSOURCES([chdir-long.c, chdir-long.h])
31 AC_LIBOBJ([chdir-long])
H A Dgetcwd-path-max.m498 /* If mkdir or chdir fails, it could be that this system cannot create
103 if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0)
160 /* Unlink first, in case the chdir failed. */
164 if (chdir ("..") < 0)
/netbsd/external/bsd/nsd/dist/contrib/bind2nsd/scripts/
H A Dbind2nsd70 os.chdir(named_root)
76 os.chdir(pwd)
90 os.chdir(tmpdir)
104 os.chdir(pwd)
H A Ds64-sync100 os.chdir(tmpdir)
117 os.chdir(pwd)
201 os.chdir(named_root)
205 os.chdir(pwd)
H A Dnsd-sync100 os.chdir(tmpdir)
114 os.chdir(pwd)
193 os.chdir(named_root)
197 os.chdir(pwd)
/netbsd/external/gpl3/gdb/dist/gnulib/import/
H A Drename.c128 if (!cwd || chdir (cwd)) in rpl_rename()
132 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename()
133 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename()
137 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename()
138 if (!IS_ABSOLUTE_FILE_NAME (dst) && chdir (cwd)) in rpl_rename()
140 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename()
142 if (chdir (cwd)) in rpl_rename()
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/
H A Drename.c128 if (!cwd || chdir (cwd)) in rpl_rename()
132 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename()
133 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename()
137 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename()
138 if (!IS_ABSOLUTE_FILE_NAME (dst) && chdir (cwd)) in rpl_rename()
140 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename()
142 if (chdir (cwd)) in rpl_rename()
/netbsd/external/bsd/libarchive/dist/tar/test/
H A Dtest_copy.c150 assertEqualInt(0, chdir("original")); in create_tree()
187 assertEqualInt(0, chdir("..")); in create_tree()
293 assertEqualInt(0, chdir("plain")); in copy_basic()
332 assertEqualInt(0, chdir("..")); in copy_basic()
348 assertEqualInt(0, chdir(target)); in copy_ustar()
375 assertEqualInt(0, chdir("../..")); in copy_ustar()
/netbsd/external/gpl2/gmake/dist/tests/scripts/options/
H A Ddash-C28 chdir $workdir;
30 chdir $pwd;
56 chdir $workdir;
58 chdir $pwd;
/netbsd/bin/csh/
H A Ddir.c89 if (chdir(ecp) == -1) in dinit()
99 if (chdir("/") == -1) { in dinit()
346 if (chdir(short2str(cp)) < 0) in dochngd()
356 if (chdir(tmp = short2str(dp->di_name)) < 0) in dochngd()
428 if (chdir(short2str(dp)) >= 0) { in dfollow()
434 if (chdir(short2str(cp)) >= 0) in dfollow()
451 if (chdir(short2str(buf)) >= 0) { in dfollow()
460 if ((dp[0] == '/' || dp[0] == '.') && chdir(short2str(dp)) >= 0) { in dfollow()
492 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd()
506 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd()
[all …]
/netbsd/tests/lib/libc/sys/
H A Dt_chroot.c64 ATF_REQUIRE(chdir(buf) == 0); in ATF_TC_BODY()
98 (void)chdir("/"); in ATF_TC_BODY()
189 ATF_REQUIRE(chdir(buf) == 0); in ATF_TC_BODY()
221 (void)chdir("/"); in ATF_TC_BODY()
/netbsd/crypto/external/bsd/openssl.old/dist/test/
H A Dconf_include_test.c19 # define chdir _chdir macro
32 # define chdir(x) (-1); macro
56 ret = chdir(s); in change_path()
/netbsd/usr.bin/make/unit-tests/
H A Dopt-chdir.exp1 make: chdir /./././././././././././././././././././././././././././././././././././././././././././…
4 make: chdir /nonexistent: No such file or directory
/netbsd/crypto/external/bsd/openssl/dist/test/
H A Dconf_include_test.c20 # define chdir _chdir macro
34 # define chdir(x) (-1); macro
58 ret = chdir(s); in change_path()
/netbsd/libexec/atrun/
H A Datrun.c142 if (chdir(pentry->pw_dir) == -1) in become_user()
143 (void)chdir("/"); in become_user()
264 if (chdir(_PATH_ATSPOOL) == -1) in run_file()
320 if (chdir(_PATH_ATJOBS) == -1) in run_file()
444 if (chdir(_PATH_ATJOBS) == -1) in main()
/netbsd/external/ibm-public/postfix/dist/src/postfix/
H A Dpostfix.c628 if (chdir(var_command_dir)) in main()
630 if (chdir(var_daemon_dir)) in main()
632 if (chdir(var_queue_dir)) in main()
/netbsd/sys/sys/
H A Dspawn.h70 #define fae_chdir_path fae_data.chdir.path
71 } chdir; member
/netbsd/external/apache2/llvm/dist/clang/utils/analyzer/
H A Dentrypoint.py37 os.chdir('/build')
67 os.chdir("/projects")
/netbsd/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dchdir.c48 val = chdir (str); in chdir_i4_sub()
65 val = chdir (str); in chdir_i8_sub()
/netbsd/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dchdir.c48 val = chdir (str); in chdir_i4_sub()
65 val = chdir (str); in chdir_i8_sub()
/netbsd/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dchdir-long.m43 # Use Gnulib's robust chdir function.
7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/m4/
H A Dchdir-long.m43 # Use Gnulib's robust chdir function.
7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
/netbsd/external/bsd/nvi/dist/ex/
H A Dex_cd.c91 if (!chdir(dir)) in ex_cd()
120 if (!chdir(buf)) { in ex_cd()

12345678910>>...21