2022-06-30 | Paul Boddie | file changeset files shortlog | Added a page describing program loading techniques. | mmap-region-flags |
paul@181 | 1 | #include <systypes/base.h> /* offset_t */ |
paul@181 | 2 | |
paul@181 | 3 | /* An interface providing operations common to both unmapped and mapped files. |
paul@181 | 4 | Other interfaces are used to specialise different kinds of files. */ |
paul@181 | 5 | |
paul@181 | 6 | interface File |
paul@181 | 7 | { |
paul@181 | 8 | /* Resize the file. */ |
paul@181 | 9 | |
paul@181 | 10 | [opcode(21)] void resize(inout offset_t size); |
paul@181 | 11 | }; |