1b3e94a20d
From release 0.1.0 pre-patched archive. This includes all Red Bear modifications previously maintained as patches in local/patches/relibc/.
16 lines
225 B
C
16 lines
225 B
C
#include <stdio.h>
|
|
#include <setjmp.h>
|
|
#include <signal.h>
|
|
|
|
int main() {
|
|
sigjmp_buf jb;
|
|
|
|
if (sigsetjmp(jb, 1)) {
|
|
printf("Jump done.\n");
|
|
} else {
|
|
printf ("Starting jump...\n");
|
|
siglongjmp(jb, 1);
|
|
}
|
|
return 0;
|
|
}
|