allocation_granularity

Function allocation_granularity 

Source
pub fn allocation_granularity() -> usize
Expand description

Returns the system allocation granularity.

On Windows, this is typically 64KB. On Unix, this is typically the system page size. When requesting a specific address, it should be aligned to this granularity.