.\" Copyright (C) 1993 David Metcalfe (david@prism.demon.co.uk)
.\"
-.\" %%%LICENSE_START(verbatim)
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\" 386BSD man pages
.\" Modified Sat Jul 24 18:29:11 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified 11 June 1995 by Andries Brouwer (aeb@cwi.nl)
-.TH REWINDDIR 3 1995-06-11 "" "Linux Programmer's Manual"
+.TH REWINDDIR 3 2015-08-08 "" "Linux Programmer's Manual"
.SH NAME
rewinddir \- reset directory stream
.SH SYNOPSIS
.nf
.B #include <sys/types.h>
-.sp
+.PP
.B #include <dirent.h>
-.sp
+.PP
.BI "void rewinddir(DIR *" dirp );
.fi
.SH DESCRIPTION
The
.BR rewinddir ()
function resets the position of the directory
-stream \fIdirp\fP to the beginning of the directory.
+stream
+.I dirp
+to the beginning of the directory.
.SH RETURN VALUE
The
.BR rewinddir ()
function returns no value.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR rewinddir ()
+T} Thread safety MT-Safe
+.TE
.SH CONFORMING TO
-SVr4, 4.3BSD, POSIX.1-2001.
+POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
.SH SEE ALSO
.BR closedir (3),
.BR opendir (3),