411 REFERENCE · Wikibooks
C++ Programming/Code/Standard C Library/Functions/ftell
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
ftell
#include <cstdio>
long ftell( FILE *stream );
The ftell() function returns the current file position for stream, or -1 if an error occurs.
Related topics fgetpos - fseek - fsetpos