CoolPotOS/apps/include/setjmp.h

9 lines
162 B
C
Raw Normal View History

2024-09-08 22:43:05 +08:00
#ifndef _SET_JMP_H
#define _SET_JMP_H
#define _NSETJMP 10
typedef long jmp_buf[_NSETJMP];
int setjmp(jmp_buf env);
void longjmp(jmp_buf env, int val);
#endif