summaryrefslogtreecommitdiff
path: root/src/setjmp/_setjmp.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
commit40e2986d3d196855bba3836a60a482fd3a0f73a8 (patch)
tree6ce03ea7ddffb7f0001bff12706b21f9bce3c67e /src/setjmp/_setjmp.c
parent421cc9cd7295e5b92cf167a41bd8f55a3b842728 (diff)
remove posix and xopen specific functions
Diffstat (limited to 'src/setjmp/_setjmp.c')
-rw-r--r--src/setjmp/_setjmp.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/setjmp/_setjmp.c b/src/setjmp/_setjmp.c
deleted file mode 100644
index 6ed81a7e..00000000
--- a/src/setjmp/_setjmp.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <setjmp.h>
-#include "_safety.h"
-
-/** save program state **/
-
-int _setjmp(jmp_buf env)
-{
- SIGNAL_SAFE(0);
- return setjmp(env);
-}
-
-/***
-saves the current state, without the signal mask, of the calling environment
-in the TYPEDEF(jmp_buf) ARGUMENT(env).
-***/
-
-/*
-CONSTRAINT: entire controlling expression of a selection or iteration statement
-CONSTRAINT: one operand of a relational or equality operator which is the entire controlling expression of a selction or iteration statement
-CONSTRAINT: the operand of a unary ! as the entire controlling expression of a selection or iteration statement
-CONSTRAINT: an entire expression statement
-
-UNSPECIFIED(Whether THIS() is a macro or identifier with external linkage)
-
-UNDEFINED(A macro definition of THIS() is suppressed in order to access an actual function)
-UNDEFINED(A program defines an external identifier named LITERAL(setjmp))
-
-XOPEN(400)
-XOBSOLETE(700, FUNCTION(siglongjmp))
-*/