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
  • Set protection of memory mapping.
  • 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.