clearing entire memory

Greg Onufer greg at cheers.uucp
Sat Dec 2 13:36:42 AEST 1989


kminor at ms.uky.edu (Kevin R. Minor) writes:
>Here's my question.  Is there a way to free up the entire memory
>without having to deallocate each node?  If I can free the entire tree
>structure in one step, it will dramatically save in run-time.  Either way,
>I'd like to know for my paper.

Well, calling exit() will do exactly what you want.  :-)

Cheers!greg



More information about the Comp.lang.c mailing list