mf_free()

Frees all memory allocated for a memory file

Call
#include <vv_sys.h>
void mf_free(mfp)

MFILEPTR mfp

Pointer to memory file to free

Returns

None

Description

The mf_free() function frees all memory allocated for a memory file. If the lines in the memory file (MFLINE structures associated with the specified memory file) have not been cleared, mf_clr() is called to do so. mf_free() then frees the array of pointers to the memory file lines and the memory file structure itself.

Related Functions

mf_clr(), mf_def()


Home Contents Previous Next