ctell Function (ROM Call 0x138)

cert.h

unsigned long ctell (CFILE *context);

Returns the current position relative to the start of a context.

ctell returns the current position of the file pointer associated with the file context pointed to by context, measured from the start address of the file.