why is free() a void?

Doug Gwyn gwyn at smoke.brl.mil
Wed Nov 7 19:25:55 AEST 1990


In article <1749 at meaddata.meaddata.com> rob at pmserv.meaddata.com writes:
>As the subject says, I'm curious as to why free() does not return a value.

Because there's nothing reliable it can tell you.
If you misinvoke it, it can't necessarily detect the fact.



More information about the Comp.lang.c mailing list