gos_file_descriptor_t Struct Reference
Data Fields |
|
| gos_file_handle_t | handle |
|
Handle of file on file system.
|
|
| uint32_t | position |
|
Current position in file.
|
|
| uint32_t | size |
|
Size of file in bytes.
|
|
| uint32_t | data_start_address |
|
Start address of file data in its first sector.
|
|
| uint32_t | current_sector |
|
Current sector of file.
|
|
| uint32_t | current_sector_position |
|
Position in current sector.
|
|
| void * | user |
|
User provided pointer (not used by system)
|
|
| void * | crypto_context |
|
Crypto context (system use only)
|
|
| gos_file_mode_t | mode |
|
File I/O mode.
|
|
Detailed Description
File descriptor
- Examples:
- utility/json_parser/parse_example2.c , and utility/json_parser/parse_example9.c .