projects
/
libc-test
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move config.mak to config.mak.def (so user can freely change it)
[libc-test]
/
src
/
api
/
setjmp.c
1
#include <setjmp.h>
2
#define T(t) (t*)0;
3
static void f()
4
{
5
T(jmp_buf)
6
{void(*p)(jmp_buf,int) = longjmp;}
7
{int(*p)(jmp_buf) = setjmp;}
8
#ifdef _POSIX_C_SOURCE
9
T(sigjmp_buf)
10
{void(*p)(sigjmp_buf,int) = siglongjmp;}
11
{int(*p)(sigjmp_buf,int) = sigsetjmp;}
12
#endif
13
}