1.1 --- a/file.h Wed Mar 17 00:10:47 2021 +0100
1.2 +++ b/file.h Thu Mar 18 00:59:55 2021 +0100
1.3 @@ -63,9 +63,13 @@
1.4 long file_context_open(file_t *file, file_t *context);
1.5 void file_init(file_t *file);
1.6
1.7 -/* File access region operations. */
1.8 +/* File and region operations. */
1.9
1.10 long file_mmap(file_t *file, offset_t position, offset_t length);
1.11 +long file_resize(file_t *file, offset_t size);
1.12 +
1.13 +/* File and region properties. */
1.14 +
1.15 offset_t file_populated_span(file_t *file);
1.16 offset_t file_span(file_t *file);
1.17