alloca() portability
Avery Colter
avery at netcom.UUCP
Sun Nov 11 08:54:16 AEST 1990
russ at groucho.ucar.edu (Russ Rew) writes:
>What common platforms do not provide an alloca or cannot use Doug Gwyn's
>alloca because they don't use a procedure stack? In other words, if we
>decide to use alloca despite the warnings about its portability, what
>platforms are we precluding?
Well, ORCA/C is supposedly ANSI rated, and there is no alloca command
that I can see.
There is the function malloc, and a proviso that says that a coding of
the old calloc command will in ORCA/C be macroed into malloc.
What exactly were the syntax, parameters, and usage of this alloca?
--
Avery Ray Colter {apple|claris}!netcom!avery {decwrl|mips|sgi}!btr!elfcat
(415) 839-4567 "Fat and steel: two mortal enemies locked in deadly combat."
- "The Bending of the Bars", A. R. Colter
More information about the Comp.lang.c
mailing list