fsetpos positions stream at the position recorded by fgetpos in *ptr.fsetpos returns non-zero on error.It is one of the file positioning function.
int fsetpos(file *stream, const fpos_t *ptr)
The C programing language(Second edition)