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 To: djgpp AT delorie DOT com In-reply-to: (nospam@xtra.co.nz) Subject: Re: Memory References: Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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).