fsetpos() (Set File Position) in C
The fsetpos() function moves the file position indicator of the given file stream to the specified position. When fsetpos() is executed, the end-of-file indicator is reset. fsetpos() function is a part of <cstdio> header file in C Standard Library. Syntax of fsetpos()int fsetpos(FILE *stream,