NAME readdir - read a directory LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include struct dirent ... readdir(DIR * dirp ); DESCRIPTION The readdir () function returns a …NAME readdir_r - read a directory LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include [[deprecated ... readdir_r(DIR *restrict dirp , struct dirent *restrict entry , stru…seekdir - set the position of the next readdir() call in the directory stream. LIBRARY Standard ... directory stream from which the next readdir (2) call will start. The loc argume…alternative functions pglob->gl_closedir , pglob->gl_readdir , pglob->gl_opendir , pglob->gl_lstat ... calls to opendir (3), readdir (3), or stat (2). If errfunc returns nonzeroalternative functions pglob->gl_closedir , pglob->gl_readdir , pglob->gl_opendir , pglob->gl_lstat ... calls to opendir (3), readdir (3), or stat (2). If errfunc returns nonzeroread from a directory stream using readdir (3). The underlying file descriptor of the directory ... ALSO open (2), closedir (3), dirfd (3), readdir (3), rewinddir (3), scandir (3),…returned by telldir () (and used internally by readdir (3)) is a "cookie" that is used ... contents. SEE ALSO closedir (3), opendir (3), readdir (3), rewinddir (3), scandir (3), se…read from a directory stream using readdir (3). The underlying file descriptor of the directory ... ALSO open (2), closedir (3), dirfd (3), readdir (3), rewinddir (3), scandir (3),…ALSO closedir (3), opendir (3), readdir (3), scandir (3), seekdir (3), telldirchdir (2), malloc (3), opendir (3), readdir (3), and [ l ] stat (2). In additionALSO closedir (3), fnmatch (3), opendir (3), readdir (3), rewinddir (3), seekdir (3), strcmpALSO close (2), opendir (3), readdir (3), rewinddir (3), scandir (3), seekdir (3), telldiropenat (2), closedir (3), opendir (3), readdir (3), rewinddir (3), scandir (3), seekdir (3), telldirALSO closedir (3), fnmatch (3), opendir (3), readdir (3), rewinddir (3), seekdir (3), strcmpSTANDARDS BSD. NOTES Use opendir (3) and readdir (3) instead. SEE ALSO lseek (2), openALSO closedir (3), fnmatch (3), opendir (3), readdir (3), rewinddir (3), seekdir (3), strcmpALSO closedir (3), fnmatch (3), opendir (3), readdir (3), rewinddir (3), seekdir (3), strcmpchdir (2), malloc (3), opendir (3), readdir (3), and [ l ] stat (2). In addition