www.delorie.com/gnu/docs/glibc/libc_461.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

23. Non-Local Exits

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.

23.1 Introduction to Non-Local Exits  When and how to use these facilities.
23.2 Details of Non-Local Exits  Functions for non-local exits.
23.3 Non-Local Exits and Signals  Portability issues.
23.4 Complete Context Control  Complete context control a la System V.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003