🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6865

Borland C++'s "heapcheck" function

#6865
From: sorrow
Date: Wed, 29 May 1991 22:34
21 lines
1428 bytes
I have been looking through my new Borland C++ stuff and ran into the functions
that start with "heap" such as heapcheck(), heapcheckfree(), heapfillfree(),
heapwalk(), etc.

Anyone have experience with them?  The documentation is shoddy.  It seems to
imply that they can be used to track errant bugs, and the guy I talked to at
Borland seemed pretty confused ("Well, um, yeah, I guess it could be used for
finding bad pointers".  "Then what else could I use it for?"  "Oh, to see if
you've overwritten memory" )


If you have any ideas, I'd like to know what they do.

Brian
/*
Brian Hook -- MS-DOS Programmer for Contract
-----------------------------------------------------------------
"I was in the kitchen, Seamus, that's my dog, was outside....and buried
ALIVE....fritter and waste...but this one goes to 11!....anymore of that
plutonium nyborg?....SNOW TIME!....This is home...this is Mean Street..
*/
Technical Details
Message-ID: <0094956C.49369EA0@MAPLE.CIRCA.UFL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ames!rex!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ames!rex!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
From: sorrow@oak.circa.ufl.edu
Newsgroups: comp.os.msdos.programmer
Subject: Borland C++'s "heapcheck" function
Message-ID: <0094956C.49369EA0@MAPLE.CIRCA.UFL.EDU>
Date: 29 May 91 22:34:47 GMT
Sender: news@uflorida.cis.ufl.EDU
Reply-To: sorrow@oak.circa.ufl.edu
Organization: University of Florida CIRCA VAX Cluster
Lines: 21