Date: Thu, 21 Nov 1996 09:30:00 +0000 From: Bill Currie Subject: Re: What are these weird functions? To: tehmul%NIITPUN AT iris DOT ernet DOT in Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <32942118.5C74@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <6463083001E72A00 AT iris DOT ernet DOT in> tehmul%NIITPUN AT iris DOT ernet DOT in wrote: > > > HI. > I downloaded the zlib_pc library so that I can read .z files directly in my > programs instead of unpacking them using compress -d ... > I built the library w/o any problem. When I linked it to my program, I got > errors on unknown external symbols halloc and hfree. I grep'ed the zlib_pc > sources and found halloc and hfree. The calls looked similar to calloc and > free, so I changed it and it worked! I still am curious about halloc and > hfree. What are they supposed to be? I couldn't find any C book which talks > about these functions. Are they the remnants of some bygone era or > something? Hmm.. which makefile did you use? There is one specifically for djgpp v2 (makefile.dj2). It appears halloc and hfree are from MSC and are only called if that what you are compiling for. Bill -- Leave others their otherness.