Namespaces
Variants
Views
Actions

ftell

From cppreference.com
< c‎ | io
Revision as of 22:40, 2 November 2012 by P12bot (Talk | contribs)

 
 
File input/output


Functions
File access
Direct input/output
Unformatted input/output
(C95)(C95)
(C95)
(C95)(C95)
(C95)
(C95)
Formatted input
Formatted output
File positioning
ftell
Error handling
Operations on files
 
Defined in header <stdio.h>
long ftell( FILE *stream );

Returns the file position indicator for the file stream stream.

Parameters

stream - file stream to examine

Return value

file position indicator on success or EOF if failure occurs.

See also

Template:c/io/dcl list fgetposTemplate:c/io/dcl list fseekTemplate:c/io/dcl list fsetpos