setjmp.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*------------------------------------------------------*/
  2. /* SH SERIES C Compiler Ver. 1.0 */
  3. /* Copyright (c) 1992 Hitachi,Ltd. */
  4. /* Licensed material of Hitachi,Ltd. */
  5. /*------------------------------------------------------*/
  6. /***********************************************************************/
  7. /* SPEC; */
  8. /* NAME = setjmp.h : ; */
  9. /* */
  10. /* FUNC = this module do the following functions ; */
  11. /* */
  12. /* CLAS = UNIT; */
  13. /* */
  14. /* END; */
  15. /***********************************************************************/
  16. #ifndef _SETJMP
  17. #define _SETJMP
  18. typedef int jmp_buf[38];
  19. typedef int jmp_buf_a[54];
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. extern int setjmp(jmp_buf);
  24. extern void longjmp(jmp_buf, int);
  25. extern int setjmp_a(jmp_buf);
  26. extern void longjmp_a(jmp_buf, int);
  27. extern volatile int _errno;
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #ifndef SEQERR
  32. #define SEQERR 1108
  33. #endif
  34. #endif