The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

setjmp.h - stack environment declarations

 SYNOPSIS



#include <setjmp.h>

 DESCRIPTION

The <setjmp.h> header contains the type definitions for array types jmp_buf and sigjmp_buf.

The following are declared as functions and may also be defined as macros. Function prototypes must be provided for use with an ISO C compiler.


void   longjmp(jmp_buf, int);
void   siglongjmp(sigjmp_buf, int);
void  _longjmp(jmp_buf, int);

Each of the following may be declared as a function, or defined as a macro, or both. Function prototypes must be provided for use with an ISO C compiler.


int    setjmp(jmp_buf);
int    sigsetjmp(sigjmp_buf, int);
int   _setjmp(jmp_buf);

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

longjmp(), _longjmp(), setjmp(), siglongjmp(), sigsetjmp().

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]