How to retrieve total amount of system RAM?
Benji Smith
dlanguage at benjismith.net
Wed Aug 13 11:50:47 PDT 2008
Steven Schveighoffer wrote:
> "Benji Smith" wrote
>> I've been looking through Tango documentation for a function that'll tell
>> me the total amount of RAM installed on the system, bu I can't find
>> anything that looks helpful. Anyone have any suggestions?
>>
>> Thanks!
>
> This is something that is highly OS-dependant (and even different versions
> of the same OS do it differently). It's not something that Tango is likely
> to provide an abstract interface for.
>
> -Steve
Okay. I suppose I'll have to find the win32 & linux functions and write
the wrappers myself.
Thanks!
--benji
More information about the Digitalmars-d-learn
mailing list