|
off_t | n |
|
struct dirent | cur_entry |
|
virtual int mbed::BaseDirHandle::closedir |
( |
| ) |
|
|
inlinevirtual |
Closes the directory.
- Returns
- 0 on success, -1 on error.
Implements mbed::DirHandle.
virtual struct dirent* mbed::BaseDirHandle::readdir |
( |
| ) |
|
|
inlinevirtual |
Return the directory entry at the current position, and advances the position to the next entry.
- Returns
- A pointer to a dirent structure representing the directory entry at the current position, or NULL on reaching end of directory or error.
Implements mbed::DirHandle.
virtual void mbed::BaseDirHandle::rewinddir |
( |
| ) |
|
|
inlinevirtual |
Resets the position to the beginning of the directory.
Implements mbed::DirHandle.
virtual void mbed::BaseDirHandle::seekdir |
( |
off_t |
location | ) |
|
|
inlinevirtual |
Sets the position of the DirHandle.
- Parameters
-
location | The location to seek to. Must be a value returned by telldir. |
Reimplemented from mbed::DirHandle.
virtual off_t mbed::BaseDirHandle::telldir |
( |
| ) |
|
|
inlinevirtual |
Returns the current position of the DirHandle.
- Returns
- the current position, -1 on error.
Reimplemented from mbed::DirHandle.
The documentation for this class was generated from the following file:
- source/FileSystemLike.cpp