alloca wars

Doug Gwyn gwyn at smoke.ARPA
Wed Aug 3 14:31:33 AEST 1988


In article <5422 at june.cs.washington.edu> pardo at june.cs.washington.edu (David Keppel) writes:
-	foo = alloca( size );
-	:
-	afree( size );
-	return( value );
-Does anybody object to these semantics?

Yes, I object very much.  If you're going to do that, just use
malloc()/free(), which are universally available.



More information about the Comp.lang.c mailing list