Namespaces
Variants
Views
Actions

rewind

From cppreference.com
< c | io
Defined in header <stdio.h>
void rewind( FILE *stream );

Moves the file position indicator to the beginning of the given file stream. EOF and error flags are also cleared.

[edit] Parameters

stream - file stream to modify

[edit] Return value

(none)

[edit] See also

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