Hab mir grade den wiki-artikel durchgelesen...
das scheint ja genau das zu sein, was ich suche:
"to provide 'non-local jumps', or control flow besides the usual subroutine call and return sequence."

"A problem with the use of setjmp/longjmp is that cleanup" - könnte das vielleicht auch ein problem mit dem "stackmüll" geben?

naja jedenfalls nochmal vielen dank an alle, die mir bisher geantwortet haben

ich mach mir erstmal nen kaffe - will irgendwer einen?