PatchworkOS  2ca1c69
A non-POSIX operating system.
Loading...
Searching...
No Matches
Setjmp/Longjmp

Setjmp/Longjmp functions. More...

Collaboration diagram for Setjmp/Longjmp:

Detailed Description

Setjmp/Longjmp functions.

Todo:
Add signal handling and 100 other things later.

Macros

#define _setjmp(env)   setjmp(env)
 
#define _longjmp(env, value)   longjmp(env, value)
 

Typedefs

typedef long jmp_buf[10]
 

Functions

_PUBLIC int setjmp (jmp_buf env)
 
_PUBLIC void longjmp (jmp_buf env, int value)
 

Macro Definition Documentation

◆ _setjmp

#define _setjmp (   env)    setjmp(env)

Definition at line 26 of file setjmp.h.

◆ _longjmp

#define _longjmp (   env,
  value 
)    longjmp(env, value)

Definition at line 27 of file setjmp.h.

Typedef Documentation

◆ jmp_buf

typedef long jmp_buf[10]

Definition at line 21 of file setjmp.h.

Function Documentation

◆ setjmp()

_PUBLIC int setjmp ( jmp_buf  env)

◆ longjmp()

_PUBLIC void longjmp ( jmp_buf  env,
int  value 
)