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, masking regions 8 beyond any visible range if indicated, obtaining the limits of the mapped 9 region and the size of the file. */ 10 11 [opcode(7)] void mmap(in offset_t position, in offset_t length, 12 in offset_t start_visible, in offset_t end_visible, 13 out offset_t start_pos, out offset_t end_pos, 14 out offset_t size); 15 };