This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

judge the end of a file use FAT_FILESYSTEM_ELM in NCS.

Hello,

I want to judge the end of a file. In the past, I can directly call the feof() function when writing in C. Now I call the api in "fs.c & fs.h" in the example of zephyr\samples\subsys\fs\fat_fs in NCS 1.4.99-dev1, but I can't find a similar "feof" function. How should I implement this function? Is there a similar reference code in NCS?

BR,
Devin

Related