Expand description
Memory map operations.
Structs
MLOCK_*
flags for use with mlock_with
.
PROT_*
flags for use with mprotect
.
MREMAP_*
flags for use with mremap
.
MS_*
flags for use with msync
.
O_*
flags for use with userfaultfd
.
Enums
Functions
posix_madvise(addr, len, advice)
—Declares an expected access pattern
for a memory-mapped file.
mlock2(ptr, len, flags)
—Lock memory into RAM, with
flags.
mmap(ptr, len, prot, MAP_ANONYMOUS | flags, -1, 0)
—Create an anonymous
memory mapping.
mremap(old_address, old_size, new_size, MREMAP_FIXED | flags)
—Resize,
modify, and/or move a memory mapping to a specific address.
userfaultfd(flags)