fs_ftell()

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

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