Expand description
The mmap module provides a safe interface to mmap memory and ensures unmap is called when the mmap object leaves scope.
Structs§
- Wraps an anonymous shared memory mapping in the current process. Provides RAII semantics including munmap when no longer needed.
 - Tracks Fixed Memory Maps within an anonymous memory-mapped fixed-sized arena in the current process.
 
Traits§
Functions§
- Validates that
offset..offset+range_sizelies within the bounds of a memory mapping ofmmap_sizebytes. Also checks for any overflow.