Crate mincore

source ·
Expand description

A library providing a safe wrapper around the mincore system call. This library also re-exports rustix::param::page_size for convenience in interpreting the returned result.

Functions

  • A function that takes a file descriptor and returns a vector indicating which pages are in memory.
  • sysconf(_SC_PAGESIZE)—Returns the process’ page size.