long int fs_ftell (FS_FILE *p_file);
File |
Called from |
Code enabled by |
fs_api..c |
Application |
|
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.