std::rewind
From cppreference.com
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 |
[edit] Parameters
stream | - | file stream to modify |
[edit] Return value
(none)
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
moves the file position indicator to a specific location in a file (function) |
|