Date: Mon, 11 Dec 1995 15:36:38 From: "Alaric B. Williams" Reply-To: DJGPP AT abwillms DOT demon DOT co DOT uk To: DJGPP AT sun DOT soe DOT clarkson DOT edu Subject: Re: coreleft() Lines: 24 In your message dated Sunday 10, December 1995 you wrote : > > On Sat, 9 Dec 1995, Alaric B. Williams wrote: > > > Is there no coreleft() for DJGPP? I see there's a go32 function that reveals > > things about free memory, but that's not going to work on a Cray, is it? Have I > > just not seen a coreleft() function that exists? > There are functions with similar functionality (they aren't called > `coreleft'), but note that they only report memory which was *never* > allocated; memory which was allocated, then freed is not reported as > free. For details, see section 15.2 of the DJGPP FAQ list (faq102.zip > from the same place you get DJGPP). Yes... those are the go32/dpmi functions I was referring to - they're not portable and they suffer from not counting deallocated memory as observed. So I presume there isn't a portable accurate coreleft after all. -- Alaric B. Williams (alaric AT abwillms DOT demon DOT co DOT uk) "A man walks into a bar, right, and he goes 'ouch' coz it's an iron bar"