How to get system page size

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: polaka_sr (16 Jun 2008)
Last edited: hamishwillee (27 Jul 2012)

The getpagesize function returns the number of bytes in a page. Page granularity is the granularity of many of the memory management calls. The page size is a system page size and may not be the same as the underlying hardware page size.

int test_getpagesize()
int retVal = 0;
retVal = getpagesize();
if( retVal >= 0)
printf("getpagesize passed");
printf("\n retVal = %d " retVal);
return retVal;
return -1;

Library: libc.lib

This page was last modified on 27 July 2012, at 04:16.
22 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.