mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Add I/O positions
This commit is contained in:
1 parent
0c18c064b8
commit
7798beaa8c
14 files changed
+258
-25
No files matched your search
@@ -407,6 +407,7 @@ bool read_file(wuffs_base__io_buffer* dst, const char* path) {
|
||||
return false;
|
||||
}
|
||||
fclose(f);
|
||||
dst->pos = 0;
|
||||
dst->closed = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user