The file is opened using the stream open functions.
It is silly and inconsistent to use the non stream functions to read from a file opened via a stream.
f_string_static_t sequence = macro_f_string_static_t_initialize(block, 0, 4);
do {
- status = f_file_read_block(file, &data->buffer);
+ status = f_file_stream_read_block(file, &data->buffer);
if (status == F_none_eof && !data->buffer.used) break;
f_string_static_t sequence = macro_f_string_static_t_initialize(block, 0, 0);
do {
- status = f_file_read_block(file, &data->buffer);
+ status = f_file_stream_read_block(file, &data->buffer);
if (status == F_none_eof && !data->buffer.used) {