On Sun, Feb 15, 2004 at 05:02:10PM +0200, Riku Voipio wrote:
> Noticed that ksysguardd includes <sys/user.h> only to
> get PAGE_SIZE.
> 
> other apps seem to use <asm/page.h> for that? Is using that
> ansi safe on all platforms?

Both are wrong.  Use sysconf(_SC_PAGESIZE) instead.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to