This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to search filenames with a pattern in a dir using fatfs APIs

Hello,

Can we search the filenames with a pattern in a directory using fatfs APIs like listing all *.c,  *.h or test*.c files etc.

Please let me know how  to do it.

Now i am able to read all the files in a directory using f_opendir() with path to the directory and multiple f_readdir() calls.

I am using BIOS version: 06_33_01_25

Regards,
Prasad