Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/c/rewind"

From cppreference.com
< cpp‎ | io‎ | c
m (Shorten template names. Use {{lc}} where appropriate.)
m (Update links.)
Line 23: Line 23:
 
===See also===
 
===See also===
 
{{dsc begin}}
 
{{dsc begin}}
{{dsc inc | cpp/io/c/dcl list fseek}}
+
{{dsc inc | cpp/io/c/dsc fseek}}
 
{{dsc see c | c/io/rewind}}
 
{{dsc see c | c/io/rewind}}
 
{{dsc end}}
 
{{dsc end}}

Revision as of 22:01, 31 May 2013

 
 
 
C-style I/O
Types and objects
Functions
File access
Direct input/output
Unformatted input/output
Formatted input
(C++11)(C++11)(C++11)    
(C++11)(C++11)(C++11)    
 
Defined in header <cstdio>
void rewind( std::FILE* stream );

Moves the file position indicator to the beginning of the given file stream as if by std::fseek(stream, 0L, SEEK_SET), and clears the end-of-file and the error indicators on stream.

Contents

Parameters

stream - file stream to modify

Return value

(none)

Example

See also

moves the file position indicator to a specific location in a file
(function) [edit]
C documentation for rewind