Information about an open file. More...
Information about an open file.
Similar to, but not equal to,
struct file in Linux
|const vfs_file_ops_t *||f_op|
|File operations table. |
|Pointer to mount table entry. |
|File flags. |
|Current position in the file. |
|PID of the process that opened the file. |
|void * ptr|
|pointer to private data |
|alternatively, you can use private_data as an int |
|uint8_t buffer [VFS_FILE_BUFFER_SIZE]|
|Buffer space, in case a single pointer is not enough. |
|File system driver private data, implementation defined. |