2022-05-03 | Paul Boddie | raw annotate files changeset graph | Introduced support for multiple program arguments. |
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 };