[comp.unix.aix] alloca

psjmt@cc.flinders.edu.au (James Tizard) (03/20/91)

----------
The title says it all. The man pages indicate that alloca() is available,
but I can't find it ! 
It certainly isn't in libc.a or (as the gdbm installation
implies) in libPW.a
Help !

TIA
-----------------------------------------------------------------------
 _--_|\        James Tizard                             
/      \       Cognitive Psychology Laboratory
\_.-*._/       Psychology Department                    
      v        Flinders University of South Australia   
               psjmt@cc.flinders.edu.au 

sanders@peyote.cactus.org (Tony Sanders) (03/26/91)

In article <1991Mar20.105721.12930@frodo.cc.flinders.edu.au> psjmt@cc.flinders.edu.au (James Tizard) writes:
>The title says it all. The man pages indicate that alloca() is available,
>but I can't find it ! 
>It certainly isn't in libc.a or (as the gdbm installation
>implies) in libPW.a
Use:    #pragma alloca
in the source between ifdefs.

The current documention specifies this, older versions did not.

BTW: Is someone working on a FAQ for this group?  Seems like a good idea.
I couldn't remeber if this was posted here before.  I've seen it, but it
could have been on an internal group.

-- sanders@peyote.cactus.org
First rule of software:  Throw the first one away.  and so on...
I am not an IBM representative, I speak only for myself.