Available on crate feature
mman only.Expand description
Memory management declarations.
Structs§
- Options for
mremap. - Additional parameters for
mmap. - Flags for
mlockall. - Configuration flags for
msync. - Desired memory protection of a memory mapping.
Enums§
- Usage information for a range of memory to allow for performance optimizations by the kernel.
Functions§
- give advice about use of memory
- Locks all memory pages that contain part of the address range with
lengthbytes starting ataddr. - Locks all memory pages mapped into this process’ address space.
- mmap⚠Allocate memory, or map files or devices into memory
- Create an anonymous memory mapping.
- Set protection of memory mapping.
- Expands (or shrinks) an existing memory mapping, potentially moving it at the same time.
- synchronize a mapped region
- Unlocks all memory pages that contain part of the address range with
lengthbytes starting ataddr. - Unlocks all memory pages mapped into this process’ address space.
- remove a mapping
- shm_open
fsCreates and opens a new, or opens an existing, POSIX shared memory object. - Performs the converse of
shm_open, removing an object previously created.