how to truncate a file in spiffs?
Posted: Sat Nov 24, 2018 10:36 pm
I would like to truncate a file in spiffs. I have found in vfs and in fatbut I am not sure I have to to use and how
Code: Select all
int truncate(const char *path, off_t length)
Code: Select all
f_truncate()
Code: Select all
spiffs_object_truncate()