Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!schikore From: schikore@mentor.cc.purdue.edu (Dan Schikore) Newsgroups: comp.lang.c Subject: Heap in Turbo C 2.0 Message-ID: <10371@mentor.cc.purdue.edu> Date: 14 Apr 91 22:43:53 GMT Distribution: usa Organization: Purdue University Lines: 13 Is there any way to measure the actual space left on the heap in Turbo C? The way I understand it, coreleft() is not an accurate measure if I have free'd some of the memory. Similarly, when I malloc and an address is returned, as far as I know the actual size of the block allocated may be more than I ask for. Can I find out how large a specific block returned by malloc is?? Thanks for any help.. -Dan Schikore schikore@mentor.cc.purdue.edu