rewinddir3
Reset directory stream
Usage
#include <sys/types.h> #include <dirent.h>
void rewinddir(DIR *dirp);
Library
Standard C library (libc, -lc)
Overview
The rewinddir() function resets the position of the directory stream dirp to the beginning of the directory.
Return value
The rewinddir() function returns no value.
Attributes
For an explanation of the terms used in this section, see attributes(7).
| Interface | Attribute | Value |
| rewinddir() | Thread safety | MT-Safe |
Releases
19 releases since Debian 1.1 (Buzz); the text changed 14 times.