.HD FREEALLOC freealloc .SH NAME freealloc \- free all allocated memory .SH SYNOPSIS .CS int freealloc(); .SH DESCRIPTION .CO Freealloc frees all memory allocated by the standard library functions .LF malloc , .LF calloc , and .LF realloc . Any memory allocated by the \*n commands .CO malloct and .CO calloct will also be freed. .CO Freealloc returns the number of bytes freed. .PP .CO Freealloc is automatically called by the .CO run and .CO reinit commands, but not by the .CO start command. .PP .CO Freealloc should be called only when the user has no more use for allocated memory. Any pointers to allocated data will no longer be valid after the call. .SH SEE ALSO calloct, malloct, run, start, reinit