Peter Memishian <peter.memishian at Sun.COM> wrote:

> ... and these apply to alloca(3C) too.  Despite the ominous text in the
> manpage, it works flawlessly on Solaris (dunno about other Unices,
> though).  Granted, C99 VLAs are slicker, but alloca() gets the job done :-)

alloca() has been around sice at least 25 years.

Variable length arrays are AFAIK a GCCism that has been invented to 
avoid the problems caused the need for a platform/compiler specific
alloca.h. It later made it into the C99 standard.

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