files
kolibrios-gitea/programs/develop/ktcc/libc.obj/include/setjmp.h
Andrew 58f45efc24 develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory.
- Update build files and include paths.
- These changes also update the CI build files in `.gitea/workflows/`.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
2025-05-24 12:12:13 +01:00

18 lines
328 B
C

#ifndef _SETJMP_H_
#define _SETJMP_H_
#include <stddef.h>
typedef unsigned long __jmp_buf[6];
typedef struct __jmp_buf_tag {
__jmp_buf __jb;
unsigned long __fl;
unsigned long __ss[128 / sizeof(long)];
} jmp_buf[1];
DLLAPI int setjmp(jmp_buf env);
DLLAPI void longjmp(jmp_buf env, int val);
#endif // _SETJMP_H_