setjmp.h 297 B

1234567891011
  1. /* Minimal i386 setjmp/longjmp for the ring-3 libc. */
  2. #ifndef LIBC_SETJMP_H
  3. #define LIBC_SETJMP_H
  4. /* ebx, esi, edi, ebp, esp, eip */
  5. typedef unsigned int jmp_buf[6];
  6. int setjmp(jmp_buf env) __attribute__((returns_twice));
  7. void longjmp(jmp_buf env, int value) __attribute__((noreturn));
  8. #endif