Directory Reading Routines
closedir
dirhandle- Closes a directory opened by
opendir
. opendir
dirhandle, dirname- Opens a directory on the handle specified.
readdir
dirhandle- Returns the next entry (or an array of entries) from the directory.
rewinddir
dirhandle- Positions the directory to the beginning.
seekdir
dirhandle, pos- Sets position for
readdir
on the directory. telldir
dirhandle- Returns the position in the directory.