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

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

[avr-libc-dev] Size of jmp_buf (setjmp).


From: Dmitry K.
Subject: [avr-libc-dev] Size of jmp_buf (setjmp).
Date: Mon, 10 Jan 2005 16:18:27 +1000
User-agent: KMail/1.5

Hi Marek and all.

From setjmp.h (avr-libc-1.2.0 and early):

   #define _JBLEN 24
   typedef struct _jmp_buf { unsigned char _jb[_JBLEN + 1]; } jmp_buf[1];

What is the reason to reserve extra one byte in jmp_buf?
Functions setjmp/longjmp use only 24 bytes now.

By fixing bug #4101, I have exclude this extra byte.

Thanks.





reply via email to

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