> -----Original Message-----
> From: avr-libc-dev-bounces+anitha.boyapati=atmel....@nongnu.org
> [mailto:avr-libc-dev-bounces+anitha.boyapati=atmel....@nongnu.org] On
> Behalf Of Joerg Wunsch
> Sent: Monday, September 14, 2009 6:14 PM
> To: avr-libc-dev@nongnu.org
> Subject: Re: [avr-libc-dev] Malloc implementation in avr
> 
> As Boyapati, Anitha wrote:

> 
> > Or he may want to
> > write his own free().
> 
> He is not allowed to do this (the C standards explicitly forbids that
> an application overrides a library implementation), and this would not
> work in almost /any/ C environment, because the way free() must be
> implemented is completely tied to the implementation of malloc()
> itself.


This sure explains the rationale. Thanks for the details.


Regards
Anitha



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to