Jump to content

C++ Programming/Code/Standard C Library/Functions/rewind

From Wikibooks, open books for an open world

rewind

[edit | edit source]
Syntax
#include <cstdio>
void rewind( FILE *stream );

The function rewind() moves the file position indicator to the beginning of the specified stream, also clearing the error and EOF flags associated with that stream.

Related topics
fseek