fsetpos()

This is a File I/O function. It is not implemented in the 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 it was successful; non-zero otherwise.

See also

fgetpos(),

fseek(), and

ftell()