Module nix::sys::mman [] [src]

Constants

MADV_CAN_REUSE
MADV_DONTNEED
MADV_FREE
MADV_FREE_REUSABLE
MADV_FREE_REUSE
MADV_NORMAL
MADV_RANDOM
MADV_SEQUENTIAL
MADV_WILLNEED
MADV_ZERO_WIRED_PAGES
MAP_FAILED
MAP_FIXED
MAP_JIT
MAP_NOCACHE
MAP_PRIVATE
MAP_SHARED
MS_ASYNC
MS_DEACTIVATE
MS_INVALIDATE
MS_KILLPAGES
MS_SYNC
PROT_EXEC
PROT_NONE
PROT_READ
PROT_WRITE

Functions

madvise
mlock
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
munmap
shm_open
shm_unlink

Type Definitions

MmapAdvise
MmapFlag
MmapProt
MmapSync