mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-24 08:54:17 +00:00
Upload
Digital Research
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user