php_stream_rewinddir() rewinds a directory stream to the first entry. Returns 0 on success, but -1 on failure.