delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/23/05:40:44

Date: Sun, 23 May 1999 12:32:02 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.990523123143.26578O-100000@is>
MIME-Version: 1.0
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

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019