[next] [prev] [prev-tail] [tail] [up]

#### LongJmp

Declaration:
  Procedure LongJmp (Var env : Jmp_Buf; Value : Longint);
Description:

  LongJmp jumps to the adress in the env jmp_buf, and restores the registers that were stored in it at the corresponding SetJmp (569) call. In effect, program flow will continue at the SetJmp call, which will return value instead of 0. If a value equal to zero is passed, it will be converted to 1 before passing it on. The call will not return, so it must be used with extreme care. This can be used for error recovery, for instance when a segmentation fault occurred.

Errors:
  None.
See also:
  SetJmp (569)

For an example, see SetJmp (569)

[next] [prev] [prev-tail] [front] [up]