m2m_fs_tell

UINT32 m2m_fs_tell(M2M_T_FS_HANDLE filehandle)

 

Description: the function returns the current data pointer to write or read in/from the file.

 

Parameters:
filehandle:     file handle

 

Return value:

         on success:   the current data pointer.

         on failure:     if the current data pointer is equal to zero it could be right, the pointer is at the

beginning of the file. In any case, to verify if an error is happened call the m2m_fs_last_error(...) API. 

 

 

NOTE: m2m_fs_last_error function returns the failure reason.