SilverScreen Solid Modeler

ftell

ftell

Previous topic Next topic  

ftell

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

long ftell( FILE *stream )

 

FILE *fp;         /* a stream pointer */

 

 

 




Synopsis

#include "stdio.h"

 

The ftell function returns the value of the file pointer for the file associated with fp .

 

 

Parameters

fp is an open stream pointer.

 

 

Return Value

ftell returns the distance in bytes of the current file pointer if successful; and EOF (-1) if an error occurs.

 

 

See Also

fseek , fgetpos