Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: platform/FileSystemHandle.h
- Revision:
- 184:08ed48f1de7f
- Parent:
- 178:79309dc6340a
diff -r 5166a824ec1a -r 08ed48f1de7f platform/FileSystemHandle.h
--- 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);
};
/**@}*/
