alloca (was: Re: scope of malloc)

Steve Summit scs at adam.mit.edu
Sat Nov 10 10:54:55 AEST 1990


In article <1990Nov7.234315.15508 at athena.mit.edu> I wrote:
>Correction: "If you just want the pointer to be around during the
>function and you want the program to be unportable..." [use alloca]

In article <3729 at skye.ed.ac.uk> richard at aiai.UUCP (Richard Tobin) writes:
>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.

Not everyone views such machines and compilers as deficient, let
alone seriously so.

Followups to alt.religion.computers.

                                            Steve Summit
                                            scs at adam.mit.edu



More information about the Comp.lang.c mailing list