[go: up one dir, main page]

Module mman

Source
Available on crate feature mman only.
Expand description

Memory management declarations.

Structs§

MapFlags
Additional parameters for mmap.
MlockAllFlags
Flags for mlockall.
MsFlags
Configuration flags for msync.
ProtFlags
Desired memory protection of a memory mapping.

Enums§

MmapAdvise
Usage information for a range of memory to allow for performance optimizations by the kernel.

Functions§

madvise
give advice about use of memory
mlock
Locks all memory pages that contain part of the address range with length bytes starting at addr.
mlockall
Locks all memory pages mapped into this process’ address space.
mmap
Allocate memory, or map files or devices into memory
mmap_anonymous
Create an anonymous memory mapping.
mprotect
Set protection of memory mapping.
msync
synchronize a mapped region
munlock
Unlocks all memory pages that contain part of the address range with length bytes starting at addr.
munlockall
Unlocks all memory pages mapped into this process’ address space.
munmap
remove a mapping
shm_openfs
Creates and opens a new, or opens an existing, POSIX shared memory object.
shm_unlink
Performs the converse of shm_open, removing an object previously created.