Function Reference
— Built-in Function: ftell (fid)

Return the position of the file pointer as the number of characters from the beginning of the file fid.

See also: fseek fopen fclose