Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>rewinddir</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
rewinddir
=========

Syntax
------

     #include <dirent.h>
     
     void rewinddir(DIR *dir);

Description
-----------

This function resets the position of the DIR so that the next call to
`readdir' (readdir:.) starts at the beginning again.   

Return Value
------------

None.

Example
-------

     DIR *d = opendir(".");
     rewinddir(d);


See Also: readdir

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson