rewind $dh->rewind() Sets current position to beginning of directory; equivalent to the rewinddir function.