Question
Proper way to detect end of file using Fatfs???
Posted on February 17, 2013 at 00:39
Hi all,
I am using fatfs as file system and I need to handle the end of file but I didn't file something equivalent towhile
(!
feof
(golf))
In an example available on fatfs, the end of file is detected when the read data is 0.
Is there a recommanded way to detect the end of file?