Luna/libs/libc/include/setjmp.h

23 lines
511 B
C
Raw Normal View History

#ifndef _SETJMP_H
#define _SETJMP_H
#include <bits/macros.h>
typedef int jmp_buf[1];
typedef int sigjmp_buf[1];
#ifdef __cplusplus
extern "C"
{
#endif
int setjmp(jmp_buf env); // Not implemented.
int sigsetjmp(sigjmp_buf env, int savesigs); // Not implemented.
__lc_noreturn void longjmp(jmp_buf env, int val); // Not implemented.
__lc_noreturn void siglongjmp(sigjmp_buf env, int val); // Not implemented.
#ifdef __cplusplus
}
#endif
#endif