Struct SYN_VfsOps¶
VFS operations structure. Implement these for your filesystem (e.g. LittleFS).
#include <syn_vfs.h>
Public Attributes¶
| Type | Name |
|---|---|
| int(* | close |
| int(* | closedir |
| int(* | mkdir |
| int(* | open |
| int(* | opendir |
| int(* | read |
| int(* | readdir |
| int(* | rename |
| int32_t(* | seek |
| int(* | stat |
| int32_t(* | tell |
| int(* | unlink |
| int(* | write |
Public Attributes Documentation¶
variable close¶
Close a file
variable closedir¶
Close a directory
variable mkdir¶
Create a directory
variable open¶
Open a file
variable opendir¶
Open a directory
variable read¶
Read from a file
variable readdir¶
Read directory entry
variable rename¶
Rename a file
variable seek¶
Seek in a file
variable stat¶
Stat a file or directory
variable tell¶
Get file position
variable unlink¶
Delete a file
variable write¶
Write to a file
The documentation for this class was generated from the following file src/syntropic/storage/syn_vfs.h