PatchworkOS
Loading...
Searching...
No Matches
setjmp.h
Go to the documentation of this file.
1
#ifndef _SETJMP_H
2
#define _SETJMP_H 1
3
4
#if defined(__cplusplus)
5
extern
"C"
6
{
7
#endif
8
9
#include "
_internal/config.h
"
10
11
// TODO: Add signal handling and 100 other things
12
13
typedef
long
jmp_buf
[10];
14
15
_PUBLIC
int
setjmp
(
jmp_buf
env);
16
_PUBLIC
void
longjmp
(
jmp_buf
env,
int
value);
17
18
#define _setjmp(env) setjmp(env)
19
#define _longjmp(env, value) longjmp(env, value)
20
21
#if defined(__cplusplus)
22
}
23
#endif
24
25
#endif
config.h
_PUBLIC
#define _PUBLIC
Definition
config.h:41
jmp_buf
long jmp_buf[10]
Definition
setjmp.h:13
longjmp
_PUBLIC void longjmp(jmp_buf env, int value)
setjmp
_PUBLIC int setjmp(jmp_buf env)
include
libstd
setjmp.h
Generated by
1.9.8