ftell

C++ Reference

ftell
Syntax:
  #include <stdio.h>
  long ftell( FILE *stream );

The ftell() function returns the current file position for stream, or -1 if an error occurs.

Related topics: