Hello! On Sat, Oct 06, 2007 at 04:07:31PM +0200, Juliusz Chroboczek wrote: > int > physicalMemory() > [...] > > This function is supposed to return the physical memory of the machine > we're running on, or -1 if it is infinite (i.e. more than 2 GB). > Please, please, please add your favourite platform to the conditional, > and send me the patch.
I can't work on it myself at the moment, but for GNU libc based systems (GNU/Linux, GNU/Hurd, GNU/kFreeBSD, GNU/kNetBSD) you may want to read ``info libc query\ memory\ parameters'' about an interface to get the information you need. Regards, Thomas
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Polipo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/polipo-users
