Name

rewind function — Resets file position

Synopsis

void rewind(FILE* stream)

The rewind function moves a file position to the beginning of a file and is equivalent to fseek(stream, 0, SEEK_SET).