AnsweredAssumed Answered

Help with memory allocation functions

Question asked by Jeremy Sanchez on Sep 29, 2009
Latest reply on Sep 30, 2009 by Haihang Sun

FILE_PTR   fpr;
fpr = _mem_alloc_zero(4096);
fpr = fopen("c:\\LIMBIC.S19", "r");


what does fclose do?, does it free the mem_alloc_zero(4096) ??? 

do I need to call  _mem_free(fpr) ???

do I even need to call _mem_alloc_zero to allocate memory for the file pointer ???


Any comments are welcome