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.
Diff: FATDirHandle.h
- Revision:
- 10:28e685e5ff7f
- Parent:
- 1:46ce1e16c870
diff -r e2ab678eb692 -r 28e685e5ff7f FATDirHandle.h
--- a/FATDirHandle.h Sat Jul 30 20:47:51 2016 +0000
+++ b/FATDirHandle.h Mon Jul 10 15:37:41 2017 +0000
@@ -36,6 +36,12 @@
virtual off_t telldir();
virtual void seekdir(off_t location);
+ virtual ssize_t read(struct dirent *ent);
+ virtual int close() { return closedir(); };
+ virtual void seek(off_t offset) { seekdir(offset); };
+ virtual off_t tell() { return telldir(); };
+ virtual void rewind() { rewinddir(); };
+
private:
FATFS_DIR dir;
struct dirent cur_entry;