truncate function not implemented in SPIFFS
Posted: 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
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