Top "Setjmp" questions

Anything related to the setjmp() and longjmp() routines in the C standard library (provided by the setjmp.

C++: Safe to use longjmp and setjmp?

Is it safe to use longjmp and setjmp in C++ on linux/gcc with regards to the following? Exception handling (…

c++ linux exception gcc setjmp
What does each entry in the Jmp_buf structure hold?

I am running Ubuntu 9.10 (Karmic Koala), and I took a look at the jmp_buf structure which is simply an …

c callstack setjmp
About setjmp/longjmp

I was investigating setjmp/longjmp and found out that setjmp saves registers such as instruction pointer, stack pointer etc... However …

c linux x86 setjmp
Warning "might be clobbered" on C++ object with setjmp

#include <setjmp.h> #include <vector> int main(int argc, char**) { std::vector<int> foo(…

c++ setjmp
Longjmp out of signal handler?

From the question: Is it good programming practice to use setjmp and longjmp in C? Two of the comments left …

c unix signals setjmp
Multitasking using setjmp, longjmp

is there a way to implement multitasking using setjmp and longjmp functions

setjmp
What sense do these clobbered variable warnings make?

I have a function like this: #include <setjmp.h> jmp_buf buf; void func2(int g); extern int …

c gcc warnings setjmp