helpfor studient

Dependents:   STM32_F103-C8T6basecanblink_led

Fork of mbed-dev by mbed official

Revision:
185:08ed48f1de7f
Parent:
179:79309dc6340a
--- 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);
 };
 /**@}*/