ftell

From cppreference.com
< c | io
Defined in header <stdio.h>
long ftell( FILE *stream );

Returns the file position indicator for the file stream stream.

[edit] Parameters

stream - file stream to examine

[edit] Return value

file position indicator on success or EOF if failure occurs.

[edit] See also

gets the file position indicator
(function)
moves the file position indicator to a specific location in a file
(function)
moves the file position indicator to a specific location in a file
(function)