[En-Nut-Discussion] Use of alloca in Nut/OS

Nathan Moore nategoose at gmail.com
Mon Aug 11 18:09:10 CEST 2008


>
> In most cases alloca() can simply be raplaces by simple local variable.
> In fact, alloca is only usefull if variable data will be stored, which
> is never a good thing for embedded.


You avoid it but if you avoided it completely you wouldn't have
NutHeapAlloc.


Nathan



More information about the En-Nut-Discussion mailing list