C Programming/stdio.h/fsetpos

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.

Prototype
int fsetpos(file *stream, const fpos_t *ptr)

Reference
The C programing language(Second edition)