Expand description
Memory management declarations.
Structs§
- MRemap
Flags  - Options for 
mremap. - MapFlags
 - Additional parameters for 
mmap. - Mlock
AllFlags  - Flags for 
mlockall. - MsFlags
 - Configuration flags for 
msync. - Prot
Flags  - Desired memory protection of a memory mapping.
 
Enums§
- Mmap
Advise  - 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 
lengthbytes starting ataddr. - 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.
 - mremap⚠
 - Expands (or shrinks) an existing memory mapping, potentially moving it at the same time.
 - msync⚠
 - synchronize a mapped region
 - munlock⚠
 - Unlocks all memory pages that contain part of the address range with
lengthbytes starting ataddr. - munlockall
 - Unlocks all memory pages mapped into this process’ address space.
 - munmap⚠
 - remove a mapping
 - shm_
open  - 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.