*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: setjmp | Section: 3 | Source: UNIX v7 | File: setjmp.3
SETJMP(3) Library Functions Manual SETJMP(3) NAME setjmp, longjmp - non-local goto SYNOPSIS #include <setjmp.h> setjmp(env) jmp_buf env; longjmp(env, val) jmp_buf env; DESCRIPTION These routines are useful for dealing with errors and interrupts en- countered in a low-level subroutine of a program. Setjmp saves its stack environment in env for later use by longjmp. It returns value 0. Longjmp restores the environment saved by the last call of setjmp. It then returns in such a way that execution continues as if the call of setjmp had just returned the value val to the function that invoked setjmp, which must not itself have returned in the interim. All acces- sible data have values as of the time longjmp was called. SEE ALSO signal(2) SETJMP(3)

Navigation Options