MicrOS
setjmp.h
Go to the documentation of this file.
1
#ifndef SETJMP_H
2
#define SETJMP_H
3
4
#include <stdint.h>
5
7
typedef
uint32_t
jmp_buf
[5];
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
14
19
extern
void
longjmp
(
jmp_buf
env
,
int
val);
20
22
27
extern
int
setjmp
(
jmp_buf
env);
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif
jmp_buf
uint32_t jmp_buf[5]
Type to hold information to restore calling environment. Contains ebx, esi, edi, ebp, return address.
Definition:
setjmp.h:7
setjmp
int setjmp(jmp_buf env)
Save calling environment for long jump.
longjmp
void longjmp(jmp_buf env, int val)
Long jump.
env
const fenv_t * env
Pointer to environment.
Definition:
fenv.c:3
uint32_t
size_t uint32_t
Unsigned integral type.
Definition:
string.h:8
library
src
setjmp.h
Generated by
1.8.13