Path: utzoo!utgpu!watmath!julian!uwovax!2011_552
From: 2011_552@uwovax.uwo.ca
Newsgroups: comp.sys.amiga
Subject: Re: Manx-C realloc() - where is i
Message-ID: <1059@uwovax.uwo.ca>
Date: 10 Dec 88 19:01:34 GMT
References: <1026@uwovax.uwo.ca> <175@sns.UUCP>
Lines: 21
Organisation: University of Western Ontario, Canada

In article <175@sns.UUCP>, space@sns.UUCP (Lars Soltau) writes:
> In article <1026@uwovax.uwo.ca> 2011_552@uwovax.uwo.ca writes:
>>I have been trying to find the realloc() function in the MANX-C library.  It
>>is listed on p. lib.31 under malloc.  However, when I check the source for
>>malloc.c and calloc.c, there is no entry for realloc().  I grepped all the
>>files in misc.arc and there is no mention of realloc.  Could somebody upload
>>the source for a realloc() function which will work with Manx-C?  Thanks.
> 
> realloc() is not in the C library c.lib or c32.lib or whatever. This is
> because realloc() can only be used in conjunction with another version of
> malloc(), which allocates contiguos blocks of memory. You'll find a
> complete memory allocation library in heapmem.o/heapmem.o32 . Just link
> with this file.
> 
> BTW, all this is in Aztec C Manual page lib68.8, BREAK, if you're wondering
> where I've got the news. It's kinda hard to find, however.
> -- 
> Lars Soltau	UUCP: ...uunet!unido!sns!space		BIX: -- no bucks --
> 
> Here's looking at you, kid!
> 		-- the Medusa