tell( )
Return the file's current position, like stdio's ftell().
stdio
Note: On Windows, file.tell can return illegal values (after an fgets()) when reading files with Unix-style line-endings. Use binary mode ('rb') to circumvent this problem.
'rb'