1REWINDDIR(3) Linux Programmer's Manual REWINDDIR(3)
2
3
4
6 rewinddir - reset directory stream
7
9 #include <sys/types.h>
10
11 #include <dirent.h>
12
13 void rewinddir(DIR *dirp);
14
16 The rewinddir() function resets the position of the directory stream
17 dirp to the beginning of the directory.
18
20 The rewinddir() function returns no value.
21
23 For an explanation of the terms used in this section, see
24 attributes(7).
25
26 ┌────────────┬───────────────┬─────────┐
27 │Interface │ Attribute │ Value │
28 ├────────────┼───────────────┼─────────┤
29 │rewinddir() │ Thread safety │ MT-Safe │
30 └────────────┴───────────────┴─────────┘
32 POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
33
35 closedir(3), opendir(3), readdir(3), scandir(3), seekdir(3), telldir(3)
36
38 This page is part of release 5.07 of the Linux man-pages project. A
39 description of the project, information about reporting bugs, and the
40 latest version of this page, can be found at
41 https://www.kernel.org/doc/man-pages/.
42
43
44
45 2015-08-08 REWINDDIR(3)