scope of malloc
Doug Gwyn
gwyn at smoke.brl.mil
Tue Nov 13 00:46:14 AEST 1990
In article <2182 at kraftbus.opal.cs.tu-berlin.de> net at tubopal.UUCP (Oliver Laumann) writes:
>Yes, I know that alloca() may not work with certain existing C
>compilers, but why, for instance, can't vendors with such types of
>compilers add an option to support alloca()
It's not simply a compiler issue; many interesting computer achitectures
are such that alloca() cannot be reasonably implemented, particularly if
you take into account interrupts (signals).
>You also keep mentioning the argument that alloca() is not needed. If
>this is true, then how do you make sure that in the following function, ...
I don't write spaghetti code.
More information about the Comp.lang.c
mailing list