Path: utzoo!attcan!uunet!unsvax!jimi!tahoe!apple!netcom!avery From: avery@netcom.UUCP (Avery Colter) Newsgroups: comp.lang.c Subject: Re: alloca() portability Keywords: portability, alloca Message-ID: <16579@netcom.UUCP> Date: 10 Nov 90 21:54:16 GMT References: <9032@ncar.ucar.edu> Distribution: na Organization: Netcom- The Bay Area's Public Access Unix System {408 241-9760 guest} Lines: 19 russ@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