Crate sparse_mmap

source ·
Expand description

Memory-related abstractions.

Re-exports§

Modules§

  • Memory functionality that needs a refactor.
  • Linux implementation for memory mapping abstractions.

Structs§

Enums§

Traits§

Functions§

  • Must be called before using try_copy on Unix platforms.
  • Atomically swaps the value at dest with new when *dest is current, using a sequentially-consistent memory ordering.
  • Atomically swaps the value at dest with new when *dest is current, using a sequentially-consistent memory ordering.
  • Copies count elements from src to dest. src and dest may overlap. Fails on access violation/SIGSEGV. Note that on case of failure, some of the bytes (even partial elements) may already have been copied.
  • Reads the value at src treating the pointer as a volatile access.
  • Writes count bytes of the value val to dest. Fails on access violation/SIGSEGV. Note that on case of failure, some of the bytes (even partial elements) may already have been written.
  • Writes value at dest treating the pointer as a volatile access.