forked from PoliEcho-holding-org/kern
Added setjmp.h
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef _SETJMP_H
|
||||
#define _SETJMP_H
|
||||
|
||||
typedef struct {
|
||||
void* _bp; // Base pointer
|
||||
void* _sp; // Stack pointer
|
||||
void* _pc; // Program counter
|
||||
} jmp_buf;
|
||||
|
||||
int setjmp(jmp_buf env);
|
||||
void longjmp(jmp_buf env, int value);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user