Home
last modified time | relevance | path

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

/io/
A Dftw.c278 open_dir_stream (int *dfdp, struct ftw_data *data, struct dir_data *dirp) in open_dir_stream() argument
353 dirp->stream = NULL; in open_dir_stream()
354 if (fd != -1 && (dirp->stream = __fdopendir (fd)) == NULL) in open_dir_stream()
370 dirp->stream = __opendir (name); in open_dir_stream()
373 if (dirp->stream == NULL) in open_dir_stream()
377 dirp->streamfd = __dirfd (dirp->stream); in open_dir_stream()
378 dirp->content = NULL; in open_dir_stream()
379 data->dirstreams[data->actdir] = dirp; in open_dir_stream()
A Dfts.c615 DIR *dirp; in fts_build() local
637 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) { in fts_build()
684 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build()
690 (void)__closedir(dirp); in fts_build()
691 dirp = NULL; in fts_build()
722 for (head = tail = NULL, nitems = 0; dirp && (dp = __readdir(dirp));) { in fts_build()
739 (void)__closedir(dirp); in fts_build()
763 (void)__closedir(dirp); in fts_build()
819 if (dirp) in fts_build()
820 (void)__closedir(dirp); in fts_build()

Completed in 8 milliseconds