Re: API to get installed RAM
Re: API to get installed RAM
- Subject: Re: API to get installed RAM
- From: Tom Bayley <email@hidden>
- Date: Mon, 25 Apr 2005 03:23:09 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Cheers Quinn. Still using Carbon/CFM here and not used to looking in
the latest headers...
On 25 Apr 2005, at 10:48, Quinn wrote:
At 2:31 -0700 25/4/05, Tom Bayley wrote:
Sorry if this is off-topic, does anyone know of such an API?
There are numerous, depending on which level of the system you're
programming to, and what you system requirements are.
o For Carbon programmers, Gestalt is traditional. Use
gestaltPhysicalRAMSizeInMegabytes and, if that fails,
gestaltPhysicalRAMSize. See the comments in "Gestalt.h" for details.
o BSD-level programmers probably want to use sysctlbyname with
"hw.physmem".
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden