Arduino Posix Filesystems
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
file_systems::MBEDFileHandle Class Reference

An mbed implementation for an individual File. More...

#include <APIMbed.h>

Inheritance diagram for file_systems::MBEDFileHandle:

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::FileSystemBasep_fs
 
int fd
 

Detailed Description

An mbed implementation for an individual File.


The documentation for this class was generated from the following file: