nix::sys

Module mman

source
Expand description

Memory management declarations.

Structs§

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 length bytes starting at addr.
  • 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 length bytes starting at addr.
  • Unlocks all memory pages mapped into this process’ address space.
  • remove a mapping
  • Creates and opens a new, or opens an existing, POSIX shared memory object.
  • Performs the converse of shm_open, removing an object previously created.