Module nix::sys::mman
[−]
[src]
Structs
| MapFlags |
Additional parameters for |
| MlockAllFlags |
Flags for |
| MsFlags |
Configuration flags for |
| 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⚠ | |
| mlock⚠ |
Locks all memory pages that contain part of the address range with |
| mlockall |
Locks all memory pages mapped into this process' address space. Locked pages never move to the swap area. |
| mmap⚠ |
Calls to mmap are inherently unsafe, so they must be made in an unsafe block. Typically a higher-level abstraction will hide the unsafe interactions with the mmap'd region. |
| msync⚠ | |
| munlock⚠ |
Unlocks all memory pages that contain part of the address range with |
| munlockall |
Unlocks all memory pages mapped into this process' address space. |
| munmap⚠ | |
| shm_open | |
| shm_unlink |