Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/include/
Ddirent.h66 extern struct dirent* readdir(DIR* dirp);
67 extern int readdir_r(DIR* dirp, struct dirent *entry, struct dirent **result);
68 extern int closedir(DIR* dirp);
69 extern void rewinddir(DIR *dirp);
70 extern int dirfd(DIR* dirp);
/bionic/libc/bionic/
Dfts.c548 DIR *dirp; in fts_build() local
562 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build()
607 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build()
613 (void)closedir(dirp); in fts_build()
614 dirp = NULL; in fts_build()
648 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
666 (void)closedir(dirp); in fts_build()
692 (void)closedir(dirp); in fts_build()
741 if (dirp) in fts_build()
742 (void)closedir(dirp); in fts_build()
/bionic/libc/unistd/
Dopendir.c46 int dirfd(DIR* dirp) in dirfd() argument
48 return dirp->_DIR_fd; in dirfd()