What is cfree() ?

Doug Gwyn gwyn at brl-smoke.ARPA
Sun Feb 21 21:08:17 AEST 1988


In article <6288 at iuvax.UUCP> bobmon at iuvax.UUCP ([bob, mon]) writes:
>includes a call to "cfree()" and TurboC doesn't know what this function is.

cfree() was supposed to be the way you freed storage allocated
by calloc(), until people realized that free() would do the job.
Change the invocation of cfree (which may have more than one
argument, of which only the pointer is used) to a call to free()
instead.



More information about the Comp.lang.c mailing list