Parameter | Type | Description |
---|---|---|
sys |
struct fins_sys_tp * |
A pointer to a structure with the FINS context |
disk |
uint16_t |
The disk on which the file is located |
path |
const char * |
The subdirectory in which the file is located |
filename |
const char * |
The name of the file |
data |
unsigned char * |
The buffer where the file contents must be stored |
file_position |
size_t |
The position in the file where reading should start |
num_bytes |
size_t * |
The amount of bytes requested and at function return the actual amount of bytes read |
Type | Description |
---|---|
int |
A return value from the list FINS_RETVAL_... indicating the result of the query |
FINS_RETVAL...
– Libfins function return code listfinslib_filename_to_83();
finslib_file_name_read();
finslib_file_write();
finslib_valid_directory();
finslib_valid_filename();