Module mmap

Source
Expand description

Low-level abstraction for allocating and managing zero-filled pages of memory.

Structs§

Mmap
A simple struct consisting of a page-aligned pointer to page-aligned and initially-zeroed memory and a length.

Enums§

MmapType
The type of mmap to create

Functions§

_assert 🔒
round_up_to_page_size 🔒
Round size up to the nearest multiple of page_size.