Exception Handling in C Without C++ - Embedded RTOS for x86 Embedded Systems
Sidebar 1: Register Variables and longjmp() Care must be taken with local variables in functions using setjmp(). In Example 5, for instance, you would expect the following program output: 1: 1 2: 2 3: 3 However, with most optimizing compilers, it will be:...