#include <sys/types.h> #include <dirent.h> void rewinddir( DIR *dirp );
No value is returned.
The rewinddir() function resets the position associated with
the directory stream pointed to by dirp. It also causes the
directory stream to refer to the current state of the directory.
NONE
If dirp is not a pointer by opendir(), the results are
undefined.
The routine is implemented in Cygnus newlib.
Copyright © 1988-2004 OAR Corporation