请问ESP32读SD卡文件,是否支持scandir排序?

317726603
Posts: 2
Joined: Tue Mar 12, 2019 1:55 pm

请问ESP32读SD卡文件,是否支持scandir排序?

Postby 317726603 » Tue Mar 12, 2019 2:21 pm

版本esp-idf-v3.1.3,希望读取SD卡上按字母顺序排列的文件名列表。
int count = scandir(pathName, &namelist, 0, alphasort);
“dirent.h”中未提供scandir功能,对吗?

Who is online

Users browsing this forum: No registered users and 159 guests