setjmp.h 466 B

123456789101112131415161718
  1. /*
  2. * setjmp/longjmp prototypes
  3. *
  4. * This code is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU Library General Public License version 2.
  6. */
  7. #ifndef LIBCFLAT_SETJMP_H
  8. #define LIBCFLAT_SETJMP_H 1
  9. typedef struct jmp_buf_tag {
  10. long int regs[8];
  11. } jmp_buf[1];
  12. extern int setjmp (struct jmp_buf_tag env[1]);
  13. extern void longjmp (struct jmp_buf_tag env[1], int val)
  14. __attribute__ ((__noreturn__));
  15. #endif /* setjmp.h */