Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!unmvax!ncar!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!unido!sns!space From: space@sns.UUCP (Lars Soltau) Newsgroups: comp.sys.amiga Subject: Re: Manx-C realloc() - where is it? Summary: it's not in the library Message-ID: <175@sns.UUCP> Date: 6 Dec 88 22:30:08 GMT References: <1026@uwovax.uwo.ca> Reply-To: space@sns.UUCP (Lars Soltau) Organization: Stuttgart Net System, FRG Lines: 20 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