The f_tell function gets the current read/write pointer of a file.
FSIZE_t f_tell ( FIL* fp /* [IN] File object */ );
Returns current read/write pointer of the file.
In this revision, the f_tell function is implemented as a macro. It does not have any validation and mutual exclusion.
#define f_tell(fp) ((fp)->fptr)
Always available.