fgetpos()

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

Syntax
  #include <stdio.h>

  
  int fgetpos(FILE *f, fpos_t *pos);

  
Description

fgetpos() returns the current file position in *pos. Use this value later to reset the position, using fsetpos().

Note: Do not assume the value in *pos to have any particular meaning, such as a byte offset from the beginning of the file. The ANSI standard does not require this, and in fact any value may be put into *pos as long as an fsetpos() with that value resets the position in the file correctly.
Return

Non-zero, if an error occurred; zero otherwise.

See also

fseek()

ftell()