rewinddir
Resets the position of a directory handle back to the beginning.
Sets the current position of DIRHANDLE back to the beginning of
the directory, so that subsequent readdir calls will re-read
the directory from the start. The directory must have been
previously opened with opendir.
Returns 1 on success, undef on failure.
Synopsis
rewinddir(DIRHANDLE);