logical_drive_type_t
Logical Drive File System Type Enumerator.
Definition file_system.h:226
void * fs_file_t
: File data specific to a particular file system.
Definition file_system.h:200
int8_t fs_status_t
: File System API return value
Definition file_system.h:181
fs_status_t file_seek(file_t *file, int32_t offset, logical_drive_type_t starting_position)
Move Read/Write Pointer of the File.
fs_status_t file_read(file_t *file, void *buffer, uint32_t bytes_to_read)
Read Data from the File.
uint32_t file_size(file_t *file)
Get Size of the File.
fs_status_t file_write(file_t *file, void *buffer, uint32_t bytes_to_write)
Write Data to a File.
fs_status_t file_truncate(file_t *file, uint32_t truncated_size)
Truncate File Size.
fs_status_t file_sync(file_t *file)
Flush Cached Data of a File.
fs_status_t file_close(file_t *file)
Close the Opened File.
fs_status_t file_open(file_t *file, fs_file_t fs_specific_file, const char *__generic_ptr path, int flags)
Open or Create a File.
uint32_t file_tell(file_t *file)
Get Current Read/Write Pointer of the File.
fs_status_t file_rewind(file_t *file)
Move Read/Write Pointer to the beginning of the File.
File Data Structure.
Definition file.h:72
fs_file_t fs_file
Definition file.h:74
logical_drive_t * logical_drive
Definition file.h:73
Logical Drive Base Data Structure.
Definition file_system.h:246