👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for setjmp (netbsd section 9)

SETJMP(9)			  BSD Kernel Developer's Manual 			SETJMP(9)

NAME
     setjmp, longjmp -- non-local jumps

SYNOPSIS
     #include <machine/types.h>
     #include <sys/systm.h>

     int
     setjmp(label_t *label);

     void
     longjmp(label_t *label);

DESCRIPTION
     The setjmp() function saves its calling environment in label.  It returns zero on success.
     The longjmp() function restores the environment saved by the most recent invocation of
     setjmp().	It returns so that kernel execution continues as if the corresponding invocation
     of the setjmp() had just returned.

     setjmp() and longjmp() are a machine-independent interface for machine-dependent implementa-
     tions.

     These functions are primarily used by ddb(4).

SEE ALSO
     ddb(4)

BSD					   May 23, 2002 				      BSD


All times are GMT -4. The time now is 06:50 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password