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§

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