Resets the position of the specified directory stream to the beginning of a directory. Format #include <dirent.h> void rewinddir (DIR *dir_pointer);