1REWINDDIR(3)               Linux Programmer's Manual              REWINDDIR(3)
2
3
4

NAME

6       rewinddir - reset directory stream
7

SYNOPSIS

9       #include <sys/types.h>
10
11       #include <dirent.h>
12
13       void rewinddir(DIR *dirp);
14

DESCRIPTION

16       The  rewinddir()  function  resets the position of the directory stream
17       dirp to the beginning of the directory.
18

RETURN VALUE

20       The rewinddir() function returns no value.
21

ATTRIBUTES

23       For  an  explanation  of  the  terms  used   in   this   section,   see
24       attributes(7).
25
26       ┌────────────┬───────────────┬─────────┐
27Interface   Attribute     Value   
28       ├────────────┼───────────────┼─────────┤
29rewinddir() │ Thread safety │ MT-Safe │
30       └────────────┴───────────────┴─────────┘

CONFORMING TO

32       POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
33

SEE ALSO

35       closedir(3), opendir(3), readdir(3), scandir(3), seekdir(3), telldir(3)
36

COLOPHON

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)
Impressum