Lines Matching defs:dir
103 DIR *dir;
108 if ((dir = opendir(path)) == NULL)
114 (void) closedir(dir);
123 rewinddir(dir);
124 while ((dp = readdir(dir)) != NULL) {
135 (void) closedir(dir);
140 rewinddir(dir);
141 while ((dp = readdir(dir)) != NULL) {
155 (void) closedir(dir);
161 (void) closedir(dir);
267 DIR *dir;
270 if ((dir = opendir(path)) == NULL)
273 while ((dp = readdir(dir)) != NULL) {
277 (void) closedir(dir);
280 (void) closedir(dir);