Lines Matching defs:dir
65 * "[/][dir/[...]]file"
67 * "[/][dir/[...]]dir/[/]"
68 * Result is "file" or "dir"
83 * Only chdirs to dir if it doesn't contain symlinks.
87 int lchdir(const char *dir)
95 dir is a canonical path (without "../" "./" "//" )
99 if (*dir != '/') {
103 if (chdir(dir) != 0)
136 if (test[i] != dir[i]) {
141 if (!dir[i])
144 if (dir[i] != '/')
148 if (dir[i])