This assumes the full 4GB is actually available...
You should also be able to get the total number of allocated pages with
task_info(TASK_BASIC_INFO) without an exhaustive survey of the address
space.
See http://www.gnu.org/software/hurd/gnumach-doc/mach_7.html#SEC64 for the
call. struct task_basic_info is declared in mach/task_info.h.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden