Modified for BG96
Fork of mbed-dev by
Diff: platform/FileSystemHandle.h
- Revision:
- 184:08ed48f1de7f
- Parent:
- 178:79309dc6340a
- Child:
- 187:0387e8f68319
--- a/platform/FileSystemHandle.h Tue Mar 20 17:01:51 2018 +0000 +++ b/platform/FileSystemHandle.h Thu Apr 19 17:12:19 2018 +0100 @@ -94,6 +94,14 @@ * @return 0 on success, negative error code on failure */ virtual int mkdir(const char *path, mode_t mode); + + /** Store information about the mounted filesystem in a statvfs structure + * + * @param path The name of the file to find information about + * @param buf The stat buffer to write to + * @return 0 on success, negative error code on failure + */ + virtual int statvfs(const char *path, struct statvfs *buf); }; /**@}*/