Namespaces
Variants
Views
Actions

rewind

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

 
 
File input/output


Functions
File access
Direct input/output
Unformatted input/output
(C95)(C95)
(C95)
(C95)(C95)
(C95)
(C95)
Formatted input
Formatted output
File positioning
rewind
Error handling
Operations on files
 
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.

Parameters

stream - file stream to modify

Return value

(none)

See also

Template:c/io/dcl list fseek