(PHP 3, PHP 4 >= 4.0b1)
void rewinddir (resource dir_handle)
void rewinddir
Resets the directory stream indicated by dir_handle to the beginning of the directory.