mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 01:05:14 +00:00
vfs,fat: add fsync to VFS interface, implement it for fatfs
This commit is contained in:
@@ -162,6 +162,10 @@ typedef struct
|
||||
int (*ioctl_p)(void* ctx, int fd, int cmd, va_list args);
|
||||
int (*ioctl)(int fd, int cmd, va_list args);
|
||||
};
|
||||
union {
|
||||
int (*fsync_p)(void* ctx, int fd);
|
||||
int (*fsync)(int fd);
|
||||
};
|
||||
} esp_vfs_t;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user