2021-08-25 | Paul Boddie | raw annotate files changeset graph | Introduced various external packages into this distribution. Some small changes were made to Control files upon discovering build issues, and libext2fs/lib/Makefile was adjusted to enforce build ordering. |
1 #include <systypes/base.h> /* offset_t */ 2 3 /* An interface providing operations specific to mapped files. */ 4 5 interface MappedFile 6 { 7 /* Memory-map a file for the given file position and length, obtaining the 8 limits of the mapped region and the size of the file. */ 9 10 [opcode(7)] void mmap(in offset_t position, in offset_t length, 11 out offset_t start_pos, out offset_t end_pos, 12 out offset_t size); 13 };