Soubok Soubok - 5 months ago 33
C Question

detecting the memory page size

Is there a portable way to detect (programmatically) the memory page size using C or C++ code ?


Since Boost is a pretty portable library you could use mapped_region::get_page_size() function to retrieve the memory page size.

As for C++ Standard it gives no such a possibility.