]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/rewinddir.3
rename.2: SEE ALSO: add rename(1)
[thirdparty/man-pages.git] / man3 / rewinddir.3
index ed610926312807e7b3cf00de0268b855b7e5c5d3..5118102ae8285dd222b3c29ec9345c123abe3f79 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (C) 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%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.
@@ -19,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     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
-.BI "void rewinddir(DIR *" dir );
+.PP
+.BI "void rewinddir(DIR *" dirp );
 .fi
 .SH DESCRIPTION
 The
 .BR rewinddir ()
 function resets the position of the directory
-stream \fIdir\fP to the beginning of the directory.
-.SH "RETURN VALUE"
+stream
+.I dirp
+to the beginning of the directory.
+.SH RETURN VALUE
 The
 .BR rewinddir ()
 function returns no value.
-.SH "CONFORMING TO"
-SVr4, 4.3BSD, POSIX.1-2001.
-.SH "SEE ALSO"
+.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
+POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
+.SH SEE ALSO
 .BR closedir (3),
 .BR opendir (3),
 .BR readdir (3),