Roland Mainz <roland.mainz at nrubsig.org> wrote:

> In general |alloca()| should be avoided in portable code and for
> perforamce reasons since some platforms implement |alloca()| via
> |malloc()|, rendering the idea of a quick&easy allocation from stack to
> /dev/null

The reason for avoiding alloca() is the same as for avoiding variable lenght 
arrays ;-) See my other posings.

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to