Roland Mainz <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to