Date: Sun, 23 May 1999 12:32:02 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Kbwms AT aol DOT com cc: djgpp-workers AT delorie DOT com Subject: Re: Heap-Memory Function In-Reply-To: <71df8489.2475a865@aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 20 May 1999 Kbwms AT aol DOT com wrote: > Years ago when I worked with Microsoft C/C++, I used a function > called _msize(). Its purpose was to return the size of a block > of memory allocated on the heap. I don't know how `_msize' works, so I'm not sure what would be its equivalent in DJGPP. Does it work on the `malloc' level or on the `sbrk' level? If the latter, then we had somewhere (in djtst perhaps) a program that printed the memory blocks allocated from the DPMI host. DJ, do you remember where that program dwells?