On Saturday 19 February 2005 19:28, Roland Dreier wrote:
> I'm not sure exactly how to call it from perl, but from C one can use
> sysconf(3) like:
>
>  page_size = sysconf(_SC_PAGESIZE);
>
> (one can also use getpagesize(2) to do exactly the same thing)

And I was going nuts looking all over /proc and /sys for it.  :)  _SC_PAGESIZE 
is a part of Perl's POSIX module.  Thanks Roland and Jan.

    - Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to