truncate function not implemented in SPIFFS

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

truncate function not implemented in SPIFFS

Postby davdav » Fri Jul 27, 2018 1:10 pm

Hello everybody,

truncate() function seems to be NOT implemented for spiffs components. If called, it returns -1
and errno is 88 which description in "\esp-idf\components\newlib\include\sys\errno.h" is

`#define ENOSYS 88 /* Function not implemented */`

Is it a problem of ESP-IDF or is it a problem of SPIFFS component itself?

I already opened an issue on github esp-idf repository.

Can someone confirm that?

Thanks

Who is online

Users browsing this forum: Baidu [Spider] and 126 guests