You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add bytes_read field to file_handle_t to track total bytes read
- Initialize bytes_read = 0 on file open (_fopen)
- Accumulate bytes_read after each _fread call
- Modify _eof to delegate to driver's eof API if implemented,
otherwise fall back to comparing bytes_read against file size,
and return 0 (not at EOF) if file size is unavailable
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
0 commit comments