ftell()

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

Syntax
  #include <stdio.h>

  
  long ftell(FILE *f);

  
Description

ftell() returns the current file position. For binary files, this is the byte offset from the beginning of the file; for text files, do not use this value except as an argument to fseek().

Return

-1, if an error occurred; otherwise the current file position.

See also

fgetpos()

fsetpos()