Namespaces
Variants
Views
Actions

std::ftell

From cppreference.com
< cpp | io | c
Defined in header <cstdio>
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) [edit]
moves the file position indicator to a specific location in a file
(function) [edit]
moves the file position indicator to a specific location in a file
(function) [edit]
C documentation for ftell