Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

long  int  fs_ftell (FS_FILE  *p_file);

File

Called from

Code enabled by

fs_api..c

Application

FS_CFG_API_EN

Get file position indicator.

Arguments

p_file

Pointer to a file.

Returned Value

The current file system position, if the function succeeds.

-1, otherwise.

Notes/Warnings

The file position returned is measured in bytes from the beginning of the file.

  • No labels