X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Visitor" Newsgroups: comp.os.msdos.djgpp References: <200401230132 DOT i0N1W0Xm025395 AT envy DOT delorie DOT com> Subject: Re: Memory Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Fri, 23 Jan 2004 20:02:10 +1300 NNTP-Posting-Host: 210.54.207.242 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 1074841387 210.54.207.242 (Fri, 23 Jan 2004 20:03:07 NZDT) NNTP-Posting-Date: Fri, 23 Jan 2004 20:03:07 NZDT Organization: Xtra To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com T h a n k y o u . "DJ Delorie" wrote in message news:200401230132 DOT i0N1W0Xm025395 AT envy DOT 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).