summaryrefslogtreecommitdiff
path: root/src/setjmp/_longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setjmp/_longjmp.c')
-rw-r--r--src/setjmp/_longjmp.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/setjmp/_longjmp.c b/src/setjmp/_longjmp.c
deleted file mode 100644
index c274889c..00000000
--- a/src/setjmp/_longjmp.c
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <setjmp.h>
-#include "_safety.h"
-
-/** restore calling environment **/
-
-void _longjmp(jmp_buf env, int val)
-{
- SIGNAL_SAFE(0);
- return longjmp(env, val);
-}
-
-/***
-restores the environment, without manipulation the signal mask, 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)
-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.
-***/
-
-/*
-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)
-
-XOPEN(400)
-XOBSOLETE(700, FUNCTION(siglongjmp))
-*/