HomeSort by: relevance | last modified time | path
    Searched refs:CHDIR (Results 1 - 5 of 5) sorted by relevancy

  /src/games/hack/
config.h 70 #define CHDIR /* delete if no chdir() available */
126 #ifdef CHDIR
140 * writing Hack files. In such cases one should be careful with chdir's
144 #define SECURE /* do setuid(getuid()) after chdir() */
151 #endif /* CHDIR */
hack.main.c 103 #ifdef CHDIR
116 #ifdef CHDIR /* otherwise no chdir() */
170 #ifdef CHDIR
196 * We cannot do chdir earlier, otherwise gethdate will fail.
198 #ifdef CHDIR
537 #ifdef CHDIR
558 if (dir && chdir(dir) < 0) {
560 error("Cannot chdir to %s.", dir);
hack.pager.c 387 * chdir(), we may not be able to open file fnam
452 #ifdef CHDIR
453 (void) chdir(getenv("HOME"));
454 #endif /* CHDIR */
  /src/lib/librumphijack/
hijack.c 351 { DUALCALL_CHDIR, "chdir", RSYS_NAME(CHDIR) },
1224 chdir(const char *path) function in typeref:typename:int
1231 op_chdir = GETSYSCALL(rump, CHDIR);
1235 op_chdir = GETSYSCALL(host, CHDIR);
  /src/lib/libc/gen/
fts.c 105 #define CHDIR(sp, path) (!ISSET(FTS_NOCHDIR) && chdir(path))
207 * If using chdir(2), grab a file descriptor pointing to dot to ensure
245 * the fts_accpath field specially so the chdir gets done to the right
405 * If have already read and now fail to chdir, whack the list
409 * directories back to the parent we don't do a chdir.
604 * If using chdir on a relative path and called BEFORE fts_read does
605 * its chdir to the root of a traversal, we can lose -- we need to
606 * chdir into the subdirectory, and we don't know where the current
607 * directory is, so we can't get back so that the upcoming chdir b
    [all...]

Completed in 14 milliseconds