>>>>> "WR" == Walter Roberson <> writes:
WR> It is not possible to write a general alloca() that exists
WR> outside of the intimate details of the ABI in use. It
WR> therefore must not be thought of as belonging to C: it belongs
WR> to the system extensions that C compiler provides for that
WR> operating environment.
While I concur that alloca() ought to be discussed in
compiler-specific newsgroups, I think your reasoning is suspect. It
is likewise impossible to write a general malloc() that exists outside
of the intimate details of the ABI in use, and yet that belongs to C,
and is frequently discussed here.
alloca() is about as standard as gotoxy() or getch(); different
compilers and libraries implement it differently or not at all, and so
it doesn't belong in comp.lang.c, but in the newsgroup or other forum
for the compiler in question.
Charlton
--
Charlton Wilbur