[Top][All Lists]

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

Re: AW: [avr-gcc-list] stack layout

From: Joerg Wunsch
Subject: Re: AW: [avr-gcc-list] stack layout
Date: Fri, 24 Jun 2005 21:43:26 +0200 (MET DST)

Russell Shaw <address@hidden> wrote:

> At strategic points you could do:
>    size_t freespace = alloca(0) - sbrk(0) + 1;

sbrk() is not a documented interface for avr-libc (not even
an existing one I believe).

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

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