Next: Signal Handling, Previous: Resource Usage And Limitation, Up: Top [Contents][Index]
Sometimes when your program detects an unusual situation inside a deeply
nested set of function calls, you would like to be able to immediately
return to an outer level of control. This section describes how you can
do such non-local exits using the setjmp
and longjmp
functions.
• Intro: | When and how to use these facilities. | |
• Details: | Functions for non-local exits. | |
• Non-Local Exits and Signals: | Portability issues. | |
• System V contexts: | Complete context control a la System V. |