www.delorie.com/djgpp/doc/libc-2.01/libc_537.html   search  
Go to the first, previous, next, last section, table of contents.


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 (see section readdir) starts at the beginning again.

Return Value

None.

Example

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


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997