1setjmp.h(0P) POSIX Programmer's Manual setjmp.h(0P)
2
3
4
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
11
13 setjmp.h — stack environment declarations
14
16 #include <setjmp.h>
17
19 Some of the functionality described on this reference page extends the
20 ISO C standard. Applications shall define the appropriate feature test
21 macro (see the System Interfaces volume of POSIX.1‐2008, Section 2.2,
22 The Compilation Environment) to enable the visibility of these symbols
23 in this header.
24
25 The <setjmp.h> header shall define the array types jmp_buf and
26 sigjmp_buf.
27
28 The following shall be declared as functions and may also be defined as
29 macros. Function prototypes shall be provided.
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 int _setjmp(jmp_buf);
39 int setjmp(jmp_buf);
40 int sigsetjmp(sigjmp_buf, int);
41
42 The following sections are informative.
43
45 None.
46
48 None.
49
51 None.
52
54 The System Interfaces volume of POSIX.1‐2008, Section 2.2, The Compila‐
55 tion Environment, _longjmp(), longjmp(), setjmp(), siglongjmp(),
56 sigsetjmp()
57
59 Portions of this text are reprinted and reproduced in electronic form
60 from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
61 -- Portable Operating System Interface (POSIX), The Open Group Base
62 Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
63 cal and Electronics Engineers, Inc and The Open Group. (This is
64 POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) 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.unix.org/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 2013 setjmp.h(0P)