fsetpos()

This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.

Syntax
   #include <stdio.h>

  
  int fsetpos(FILE *f, const fpos_t *pos);

  
Description

fsetpos() sets the file position to pos, which must be a value returned by a previous call to fgetpos() on the same file. If the function is successful, it clears the file's end-of-file flag.

The position cannot be set beyond the end of the file.

Return

Zero, if successful; non-zero otherwise.

See also

fgetpos()

fseek()

ftell()