Lines Matching refs:dir
169 * it will use the default dir. Each file is dealt to
175 adm_fcode(int verbose, char *dir)
212 if (!dir) {
219 " Using directory %s"), dir);
221 if (lstat(dir, &statbuf) < 0) {
224 dir, strerror(errno));
229 MSGSTR(2218, "Error: %s is not a directory.\n"), dir);
232 if ((dp = opendir(dir)) == NULL) {
234 " Error Cannot open directory %s\n"), dir);
243 sprintf(file, "%s/%s", dir, dirp->d_name);