avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] Malloc implementation in avr


From: Boyapati, Anitha
Subject: RE: [avr-libc-dev] Malloc implementation in avr
Date: Wed, 16 Sep 2009 11:58:10 +0200


> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Joerg Wunsch
> Sent: Monday, September 14, 2009 6:14 PM
> To: address@hidden
> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]