Path: utzoo!utgpu!watmath!julian!uwovax!2011_552 From: 2011_552@uwovax.uwo.ca (Terry Gaetz (UWO Astronomy); Bitnet: gaetz@uwovax) Newsgroups: comp.sys.amiga Subject: Re: Manx-C realloc() - where is it?down 500 Message-ID: <1062@uwovax.uwo.ca> Date: 10 Dec 88 22:04:52 GMT References: <1026@uwovax.uwo.ca> <175@sns.UUCP> Lines: 20 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. [lines deleted] > > 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. I was sent source for a realloc() function which appears to originate with Manx, although I haven't tried it out yet. There is also a source listing realloc34b.c on the Manx BBS. Thanks for the pointer to heapmem.o. Terry Gaetz BITNET: gaetz@uwovax