pub unsafe fn mmap<F: AsFd>( addr: Option<NonZeroUsize>, length: NonZeroUsize, prot: ProtFlags, flags: MapFlags, f: Option<F>, offset: off_t ) -> Result<*mut c_void>
mman
allocate memory, or map files or devices into memory
See the mmap(2) man page for detailed requirements.
mmap(2)