FF_Tell()

From FullFAT
Jump to: navigation, search

Returns the current position of the file pointer of the specified FF_FILE object.

Contents

Prototype

FF_T_UINT32 FF_Tell(FF_FILE *pFile);

Back to API.

Parameters

pFile

FF_FILE object from the FF_Open() function.

Return Value

Returns the current byte position of the file pointer.

Example

#include "fullfat.h"
 
FF_T_UINT32 fp = FF_Tell(pFile);
 
// fp is the file pointers current position.

Back to API.

See Also

Personal tools