diff options
Diffstat (limited to 'src/setjmp/longjmp.c')
| -rw-r--r-- | src/setjmp/longjmp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/setjmp/longjmp.c b/src/setjmp/longjmp.c index bcb97410..c8ed34af 100644 --- a/src/setjmp/longjmp.c +++ b/src/setjmp/longjmp.c @@ -1,6 +1,7 @@ #include <setjmp.h> /** restore calling environment **/ + _Noreturn void longjmp(jmp_buf env, int val) { (void)env; @@ -13,7 +14,7 @@ _Noreturn void longjmp(jmp_buf env, int val) } /*** -THIS() restores the environment of a previous call to FUNCTION(setjmp) +restores the environment of a previous call to FUNCTION(setjmp) and continues execution at the location of the call to FUNCTION(setjmp). All objects previously accessible at the time of the call to FUNCTION(setjmp) @@ -21,15 +22,13 @@ have the same values. Non-TYPE(volatile) objects of automatic storage duration that have changed since the call to FUNCTION(setjmp) have intederminate values. When execution resumes at the point of the original call to FUNCTION(setjmp), -the value specified by ARGUMENT(val) is returned. If 0 is specified, then the return -value is 1. +the value specified by ARGUMENT(val) is returned. If 0 is specified, then the +return value is 1. ***/ /* UNDEFINED(There was no previous call to FUNCTION(setjmp)) UNDEFINED(The function containing the previous call to FUNCTION(setjmp) is no longer executing) UNDEFINED(THIS() is called from a nested signal handler) -*/ -/* STDC(1) */ |
