|
Arduino Posix Filesystems
|
An mbed implementation for an individual File. More...
#include <APIMbed.h>
Public Member Functions | |
| MBEDFileHandle (file_systems::FileSystemBase *p_fs, const char *fileName, int fd) | |
| ssize_t | read (void *buffer, size_t size) |
| ssize_t | write (const void *buffer, size_t size) |
| off_t | seek (off_t offset, int whence=SEEK_SET) |
| int | close () |
| int | sync () |
| int | isatty () |
| off_t | tell () |
| void | rewind () |
| off_t | size () |
| int | truncate (off_t length) |
| int | set_blocking (bool blocking) |
| bool | is_blocking () const |
| int | enable_input (bool enabled) |
| int | enable_output (bool enabled) |
Protected Attributes | |
| const char * | file_name |
| file_systems::FileSystemBase * | p_fs |
| int | fd |
An mbed implementation for an individual File.