From 40e2986d3d196855bba3836a60a482fd3a0f73a8 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 17:07:29 -0500 Subject: remove posix and xopen specific functions --- src/setjmp/sigsetjmp.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/setjmp/sigsetjmp.c (limited to 'src/setjmp/sigsetjmp.c') diff --git a/src/setjmp/sigsetjmp.c b/src/setjmp/sigsetjmp.c deleted file mode 100644 index 7ca66b31..00000000 --- a/src/setjmp/sigsetjmp.c +++ /dev/null @@ -1,40 +0,0 @@ -#if 0 - -#include -#include -#include - -/** save program state with signal mask **/ - -int sigsetjmp(sigjmp_buf env, int savemask) -{ - SIGNAL_SAFE(0); - - if (savemask) { - /* save mask to env */ - } - return setjmp(env); -} - -/*** -saves the current state of the calling environment in the -TYPEDEF(sigjmp_buf) ARGUMENT(env). If ARGUMENT(savemask) is nonzero, the saved -environment includes the signal mask of the current thread. -***/ - -/* -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)) - -POSIX(1) -*/ - - -#endif -- cgit v1.2.1