Namespaces
Variants
Views
Actions

std::rewind

From cppreference.com
< cpp‎ | io‎ | c
Revision as of 17:41, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
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

Template:cpp/io/c/dcl list fseek
C documentation for rewind