brickOS Kernel Developer v0.9.0
|
Non-local goto as specified in ANSI C. More...
#include <config.h>
Go to the source code of this file.
Typedefs | |
typedef int | jmp_buf[6] |
Information stored for non-local jumps. | |
Functions | |
int | setjmp (jmp_buf env) |
Save execution context for non-local goto. | |
void | longjmp (jmp_buf env, int val) |
Non-local jump to saved machine context. | |
Non-local goto as specified in ANSI C.
Definition in file setjmp.h.
typedef int jmp_buf[6] |
Information stored for non-local jumps.
Stores the machine status for non-local jumps. The H8/300 CPU has the following state information:
|
extern |
Non-local jump to saved machine context.
Restores a machine context as saved via setjmp.
env | the buffer of the saved machine status |
val | the value to return from the setjmp function |
|
extern |
Save execution context for non-local goto.
Records the current machine status for a non-local goto. The saved status will be invalidated when returning from the stack frame where it was set.
env | buffer for saved machine status |