2 * D header file for POSIX.
4 * Copyright: Public Domain
5 * License: Public Domain
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
9 module core.sys.posix.setjmp;
11 private import core.sys.posix.config;
12 private import core.sys.posix.signal; // for sigset_t
23 void longjmp(jmp_buf, int);
40 alias long[8] __jmp_buf;
52 alias int[6] __jmp_buf;
54 else version ( SPARC )
56 alias int[3] __jmp_buf;
63 sigset_t __saved_mask;
66 alias __jmp_buf_tag[1] jmp_buf;
68 alias _setjmp setjmp; // see XOpen block
69 void longjmp(jmp_buf, int);
78 int sigsetjmp(sigjmp_buf, int);
79 void siglongjmp(sigjmp_buf, int);
84 alias jmp_buf sigjmp_buf;
86 int __sigsetjmp(sigjmp_buf, int);
87 alias __sigsetjmp sigsetjmp;
88 void siglongjmp(sigjmp_buf, int);
96 void _longjmp(jmp_buf, int);
101 int _setjmp(jmp_buf);
102 void _longjmp(jmp_buf, int);