Open bruno-at-orange opened 1 month ago
The fread method behaves differently from C ANSI, which does not return -1 and requires to use ferror:
fread
ferror
It would be better to have the same behavior as C ANSI. To implement this, the driver API needs to be modified. We can start with the null driver in order to detect potential problems and after this step, we can specify the new driver API.
null
Description
The
fread
method behaves differently from C ANSI, which does not return -1 and requires to useferror
:It would be better to have the same behavior as C ANSI. To implement this, the driver API needs to be modified. We can start with the
null
driver in order to detect potential problems and after this step, we can specify the new driver API.