Mail Archives: djgpp/1995/12/11/13:19:48
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"
- Raw text -