1<setjmp.h>(0P)             POSIX Programmer's Manual            <setjmp.h>(0P)
2
3
4

NAME

6       setjmp.h - stack environment declarations
7

SYNOPSIS

9       #include <setjmp.h>
10

DESCRIPTION

12       Some  of the functionality described on this reference page extends the
13       ISO C standard. Applications shall define the appropriate feature  test
14       macro  (see  the System Interfaces volume of IEEE Std 1003.1-2001, Sec‐
15       tion 2.2, The Compilation Environment)  to  enable  the  visibility  of
16       these symbols in this header.
17
18       The  <setjmp.h>  header  shall  define  the  array  types  jmp_buf  and
19       sigjmp_buf.
20
21       The following shall be declared as functions and may also be defined as
22       macros. Function prototypes shall be provided.
23
24
25              void   longjmp(jmp_buf, int);
26
27              void   siglongjmp(sigjmp_buf, int);
28
29
30              void  _longjmp(jmp_buf, int);
31
32
33       The  following may be declared as a function, or defined as a macro, or
34       both. Function prototypes shall be provided.
35
36
37              int    setjmp(jmp_buf);
38
39              int    sigsetjmp(sigjmp_buf, int);
40
41
42              int   _setjmp(jmp_buf);
43
44
45       The following sections are informative.
46

APPLICATION USAGE

48       None.
49

RATIONALE

51       None.
52

FUTURE DIRECTIONS

54       None.
55

SEE ALSO

57       The  System  Interfaces  volume  of  IEEE Std 1003.1-2001,   longjmp(),
58       _longjmp(), setjmp(), siglongjmp(), sigsetjmp()
59
61       Portions  of  this text are reprinted and reproduced in electronic form
62       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
63       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
64       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
65       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
66       event of any discrepancy between this version and the original IEEE and
67       The  Open Group Standard, the original IEEE and The Open Group Standard
68       is the referee document. The original Standard can be  obtained  online
69       at http://www.opengroup.org/unix/online.html .
70
71
72
73IEEE/The Open Group                  2003                       <setjmp.h>(0P)
Impressum