ftell [C++ Reference]
Keywords: c,io,ftell
Date: 2008-10-14T15:42:01-0700

[[ftell]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## ftell

Syntax:

        #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

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •