]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/rewinddir.3
Many pages: Fix style issues reported by `make lint-groff`
[thirdparty/man-pages.git] / man3 / rewinddir.3
CommitLineData
fea681da
MK
1.\" Copyright (C) 1993 David Metcalfe (david@prism.demon.co.uk)
2.\"
5fbde956 3.\" SPDX-License-Identifier: Linux-man-pages-copyleft
fea681da
MK
4.\"
5.\" References consulted:
6.\" Linux libc source code
7.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
8.\" 386BSD man pages
9.\" Modified Sat Jul 24 18:29:11 1993 by Rik Faith (faith@cs.unc.edu)
10.\" Modified 11 June 1995 by Andries Brouwer (aeb@cwi.nl)
1ae6b2c7 11.TH REWINDDIR 3 2021-03-22 GNU "Linux Programmer's Manual"
fea681da
MK
12.SH NAME
13rewinddir \- reset directory stream
a8a14c49
AC
14.SH LIBRARY
15Standard C library
8fc3b2cf 16.RI ( libc ", " \-lc )
fea681da
MK
17.SH SYNOPSIS
18.nf
19.B #include <sys/types.h>
fea681da 20.B #include <dirent.h>
68e4db0a 21.PP
6dea120e 22.BI "void rewinddir(DIR *" dirp );
fea681da
MK
23.fi
24.SH DESCRIPTION
60a90ecd
MK
25The
26.BR rewinddir ()
27function resets the position of the directory
35cfd378
MK
28stream
29.I dirp
30to the beginning of the directory.
47297adb 31.SH RETURN VALUE
60a90ecd
MK
32The
33.BR rewinddir ()
34function returns no value.
c242417a 35.SH ATTRIBUTES
8b6282e2
PH
36For an explanation of the terms used in this section, see
37.BR attributes (7).
c466875e
MK
38.ad l
39.nh
8b6282e2
PH
40.TS
41allbox;
c466875e 42lbx lb lb
8b6282e2
PH
43l l l.
44Interface Attribute Value
45T{
c242417a 46.BR rewinddir ()
8b6282e2
PH
47T} Thread safety MT-Safe
48.TE
c466875e
MK
49.hy
50.ad
51.sp 1
47297adb 52.SH CONFORMING TO
8dc8b873 53POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
47297adb 54.SH SEE ALSO
fea681da
MK
55.BR closedir (3),
56.BR opendir (3),
57.BR readdir (3),
58.BR scandir (3),
59.BR seekdir (3),
60.BR telldir (3)