The f_size function gets the size of a file.
DWORD f_size (
FIL* FileObject /* File object */
);
Returns the size of the file in unit of byte.
In this revision, the f_size function is implemented as a macro.
#define f_size(fp) ((fp)->fsize)
Always available.