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

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       setjmp.h — stack environment declarations
13

SYNOPSIS

15       #include <setjmp.h>
16

DESCRIPTION

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

APPLICATION USAGE

46       None.
47

RATIONALE

49       None.
50

FUTURE DIRECTIONS

52       None.
53

SEE ALSO

55       The System Interfaces volume of POSIX.1‐2017, Section 2.2, The Compila‐
56       tion  Environment,  _longjmp(),  longjmp(),   setjmp(),   siglongjmp(),
57       sigsetjmp()
58
60       Portions  of  this text are reprinted and reproduced in electronic form
61       from IEEE Std 1003.1-2017, Standard for Information Technology --  Por‐
62       table  Operating System Interface (POSIX), The Open Group Base Specifi‐
63       cations Issue 7, 2018 Edition, Copyright (C) 2018 by the  Institute  of
64       Electrical  and  Electronics Engineers, Inc and The Open Group.  In the
65       event of any discrepancy between this version and the original IEEE and
66       The  Open Group Standard, the original IEEE and The Open Group Standard
67       is the referee document. The original Standard can be  obtained  online
68       at http://www.opengroup.org/unix/online.html .
69
70       Any  typographical  or  formatting  errors that appear in this page are
71       most likely to have been introduced during the conversion of the source
72       files  to  man page format. To report such errors, see https://www.ker
73       nel.org/doc/man-pages/reporting_bugs.html .
74
75
76
77IEEE/The Open Group                  2017                         setjmp.h(0P)
Impressum