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       #include <dirent.h>
11
12       void rewinddir(DIR *dirp);
13

DESCRIPTION

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

RETURN VALUE

19       The rewinddir() function returns no value.
20

ATTRIBUTES

22       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
23       tributes(7).
24
25       ┌────────────────────────────────────────────┬───────────────┬─────────┐
26Interface                                   Attribute     Value   
27       ├────────────────────────────────────────────┼───────────────┼─────────┤
28rewinddir()                                 │ Thread safety │ MT-Safe │
29       └────────────────────────────────────────────┴───────────────┴─────────┘
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.13 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                                  2021-03-22                      REWINDDIR(3)
Impressum