Lines Matching refs:dir
149 char *dir;
154 for (dir = strtok(path, ":"); dir; dir = strtok(NULL, ":"))
155 manpath_add(dirs, dir, complain);
163 manpath_add(struct manpaths *dirs, const char *dir, int complain)
170 if (NULL == (cp = realpath(dir, buf))) {
172 warn("manpath: %s", dir);
177 if (0 == strcmp(dirs->paths[i], dir))
182 warn("manpath: %s", dir);