Module shmem_ipc::mem

source ·
Expand description

Functions for creating memory maps from memfds.

Modules

Reexport the memfd crate
Reexport the memmap2 crate

Functions

Creates a raw memory map of a memfd, suitable for IPC. It must be writable.
Creates a memory map of a memfd. The memfd is sealed to be read only.
Creates a shared memory area that can be written once and read many times.
Like “write_once”, but allows for customisation of the memfd_options and seals added after writing.