|
@@ -228,12 +228,14 @@ fdopendir(int fd)
|
|
|
return NULL;
|
|
return NULL;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 4, 2)
|
|
|
int
|
|
int
|
|
|
ftruncate(int fd, off_t length)
|
|
ftruncate(int fd, off_t length)
|
|
|
{
|
|
{
|
|
|
errno = ENOSYS;
|
|
errno = ENOSYS;
|
|
|
return -1;
|
|
return -1;
|
|
|
}
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
int
|
|
int
|
|
|
futimens(int fd, const struct timespec times[2])
|
|
futimens(int fd, const struct timespec times[2])
|