Function page_size::get_granularity
[−]
[src]
pub fn get_granularity() -> usize
This function retrieves the system's memory allocation granularity.
Example
extern crate page_size; println!("{}", page_size::get_granularity());