Fork of Adam Green's library with .cpp fix for current compiler
Dependents: MSCUsbHost mpod_nhk_english mpod_picasa_photoframe mpod_nhk_english_spxml ... more
Fork of FatFileSystem by
FATFileHandle.h
- Committer:
- igorsk
- Date:
- 2012-07-30
- Revision:
- 1:88f22c32a456
- Parent:
- 0:6ceefe1c53e4
File content as of revision 1:88f22c32a456:
/* mbed Microcontroller Library - FATFileHandle * Copyright (c) 2008, sford */ #ifndef MBED_FATFILEHANDLE_H #define MBED_FATFILEHANDLE_H #include "FileHandle.h" #include "ff.h" namespace mbed { class FATFileHandle : public FileHandle { public: FATFileHandle(FIL fh); virtual int close(); virtual ssize_t write(const void* buffer, size_t length); virtual ssize_t read(void* buffer, size_t length); virtual int isatty(); virtual off_t lseek(off_t position, int whence); virtual int fsync(); virtual off_t flen(); protected: FIL _fh; }; } #endif