tell( )

Return the file's current position, like stdio's ftell().

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.