Home | History | Annotate | Download | only in libutil

Lines Matching defs:dir

44 int create_dir(char const * dir)
46 if (mkdir(dir, 0755)) {
47 /* FIXME: Does not verify existing is a dir */
123 * MATCH_DIR_ONLY_RECURSION, the behavior is the same, whether or not the dir
125 * NO_RECURSION and MATCH_ANY_ENTRY_RECURSION do depend on the dir entry
133 DIR * dir;
139 if (!(dir = opendir(base_dir)))
141 while ((ent = readdir(dir)) != 0) {
192 closedir(dir);