C and AWK questions

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Wed Aug 15 13:41:18 AEST 1984


The 4.2BSD malloc has (if what I've been told is correct) a range
checking option that will cause ``free'' and ``realloc'' to abort
if the area allocated has been overflowed.  I've never seen a
version of malloc & friends that allows one to insert calls to
malloc-checking routine as desired, although it shouldn't be too
hard to write.

If anyone is interested, I have a modified version of the CalTech
power-of-two malloc (the same one as used in 4.2BSD) with range
checking which works properly even on Pyramids, which I could
probably post.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.lang.c mailing list