rewind
Syntax
- void rewind(FILE * file)
Arguments
- file
- A pointer to the file that you are working with (obtained with fopen).
Description
- Rewinds the position indicator in the file back to the very beginning of the file.
Example
Also see
- fopen, fread, fseek, fwrite, fclose
Comments
- Everyone can add their comments about their experiences with this function here. Tips for using it are welcome, too.