next up previous
Next: Why is realloc not Up: Frequently Asked Questions Previous: Is there a way

What about cleaning up if xmemory exits the program?

You can always make use of the atexit() system call to add cleaning functions, in case the process is terminated by xmemory and not by your own code.

Nicolas Devillard 2002-05-03