delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Thu, 22 Jan 2004 20:32:00 -0500 |
Message-Id: | <200401230132.i0N1W0Xm025395@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <TF_Pb.20752$9k7.381777@news.xtra.co.nz> (nospam@xtra.co.nz) |
Subject: | Re: Memory |
References: | <TF_Pb.20752$9k7 DOT 381777 AT news DOT xtra DOT co DOT nz> |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Is there a more portable C function to check > available memory than the DPMI function > "__dpmi_get_free_memory_information()" ? Not really. There's a way to do it with repeated calls to malloc() but some systems react badly to such tests (linux without swap, for one).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |