|
Last change
on this file since 502 was 18, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
492 bytes
|
| Line | |
|---|
| 1 | /* setjmp.h (emx+gcc) */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _SETJMP_H
|
|---|
| 4 | #define _SETJMP_H
|
|---|
| 5 |
|
|---|
| 6 | #if defined (__cplusplus)
|
|---|
| 7 | extern "C" {
|
|---|
| 8 | #endif
|
|---|
| 9 |
|
|---|
| 10 | /* ANSI X3.159-1989 */
|
|---|
| 11 |
|
|---|
| 12 | typedef int jmp_buf[12];
|
|---|
| 13 |
|
|---|
| 14 | int setjmp (jmp_buf);
|
|---|
| 15 | void longjmp (jmp_buf, int) __attribute__ ((__noreturn__));
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | #if !defined (__STRICT_ANSI__)
|
|---|
| 19 |
|
|---|
| 20 | /* POSIX.1 */
|
|---|
| 21 |
|
|---|
| 22 | typedef int sigjmp_buf[14];
|
|---|
| 23 |
|
|---|
| 24 | int sigsetjmp (sigjmp_buf, int);
|
|---|
| 25 | void siglongjmp (sigjmp_buf, int) __attribute__ ((__noreturn__));
|
|---|
| 26 |
|
|---|
| 27 | #endif
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 | #if defined (__cplusplus)
|
|---|
| 31 | }
|
|---|
| 32 | #endif
|
|---|
| 33 |
|
|---|
| 34 | #endif /* not _SETJMP_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.