[GD-Linux] Reinitializing the heap
Brought to you by:
vexxed72
From: Josh A. <ja...@se...> - 2001-11-27 21:15:19
|
Hey all, Is it possible to reinitialize the standard libc malloc heap during runtime? I would rather do this than try to make sure every last bit of memory is cleaned up (it's a game after all). I'm looking for anything from an externed function I can call (like __malloc_init) or getting the 'top' of the heap and setting it to 0 or something like that. Any hints would be greatly appreciated, Josh -- Josh Adams [ja...@se...] Senior Programmer, Founder Secret Level [www.secretlevel.com] |