mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 16:34:07 +00:00
18 lines
231 B
C
18 lines
231 B
C
#include <stdio.h>
|
|
#include <setjmp.h>
|
|
jmp_buf env;
|
|
main()
|
|
{
|
|
WORD i; /* Temp */
|
|
if((i=setjmp(env))) /* only for the longjump return */
|
|
{
|
|
printf("Longjmp returns %d\n",i);
|
|
exit();
|
|
}
|
|
b();
|
|
}
|
|
b()
|
|
{
|
|
longjmp(env,12);
|
|
}
|