Add I/O positions

This commit is contained in:
Nigel Tao committed 2018-08-26 16:31:19 +10:00
1 parent 0c18c064b8
commit 7798beaa8c
14 files changed
+258 -25

No files matched your search

+1
View File
@@ -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;
}