Declaration:
long tell(long handle);
Description
Gets the current position of the file pointer.
tell gets the current position of the file pointer associated with handle and expresses it as the number of bytes from the beginning of the file.
Returned Value
tell returns the current file pointer position. Returned -1 (long) indicates an error, and the errno global variable is set to
|