How to free calloc(3X)?

HEPING at kuhub.cc.ukans.edu HEPING at kuhub.cc.ukans.edu
Mon Aug 21 02:25:41 AEST 1989


Question:
For the fast main memory allocator calloc(), how can I free the block
previously allocated by calloc? Can I use free() or cfree()? And why
isn't there such a function when you look at "malloc(3X)"?

Thanks for help.

Phil



More information about the Comp.lang.c mailing list