scope of malloc
Richard Tobin
richard at aiai.ed.ac.uk
Sat Nov 10 03:09:31 AEST 1990
In article <1990Nov7.234315.15508 at athena.mit.edu> scs at adam.mit.edu (Steve Summit) writes:
[alloca]
>Correction: "If you just want the pointer to be around during the
>function and you want the program to be unportable..."
Where unportable means "portable to an extremely large class of
machines and compilers". Portability is always a compromise. You
have the choice of rejecting machines or compilers with such serious
deficiencies as making alloca() impossible.
-- Richard
--
Richard Tobin, JANET: R.Tobin at uk.ac.ed
AI Applications Institute, ARPA: R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin
More information about the Comp.lang.c
mailing list