cppreference.com > Standard C I/O > fsetpos
fsetpos
Syntax:
  #include <stdio.h>
  int fsetpos( FILE *stream, const fpos_t *position );
  

The fsetpos() function moves the file position indicator for the given stream to a location specified by the position object. fpos_t is defined in stdio.h. The return value for fsetpos() is zero upon success, non-zero on failure.