2000-02-18 03:39:52 +08:00
|
|
|
/*
|
|
|
|
setjmp.h
|
|
|
|
stubs for future use.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SETJMP_H_
|
|
|
|
#define _SETJMP_H_
|
|
|
|
|
|
|
|
#include "_ansi.h"
|
|
|
|
#include <machine/setjmp.h>
|
|
|
|
|
2002-06-28 07:58:38 +08:00
|
|
|
_BEGIN_STD_C
|
|
|
|
|
2014-01-19 17:38:34 +08:00
|
|
|
#ifdef __GNUC__
|
2017-12-04 13:54:48 +08:00
|
|
|
void longjmp (jmp_buf __jmpb, int __retval)
|
2014-01-19 17:38:34 +08:00
|
|
|
__attribute__ ((__noreturn__));
|
2014-01-21 01:23:41 +08:00
|
|
|
#else
|
2017-12-04 13:54:48 +08:00
|
|
|
void longjmp (jmp_buf __jmpb, int __retval);
|
2014-01-19 17:38:34 +08:00
|
|
|
#endif
|
2017-12-04 13:54:48 +08:00
|
|
|
int setjmp (jmp_buf __jmpb);
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2002-06-28 07:58:38 +08:00
|
|
|
_END_STD_C
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
#endif /* _SETJMP_H_ */
|
|
|
|
|