programming.nbk: Home | Index | Next Page: fwrite() | Previous Page: fstat()


 ftell()

Syntax

The function returns an encoded form of the file-position indicator for the stream stream or stores a positive value in errno and returns the value -1. For a binary file, a successful return value gives the number of bytes from the beginning of the file. For a text file, target environments can vary on the representation and range of encoded file-position indicator values.


programming.nbk: Home | Index | Next Page: fwrite() | Previous Page: fstat()


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time