summaryrefslogtreecommitdiff
path: root/src/fenv/fesetexceptflag.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 13:09:57 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 13:09:57 -0500
commit46e4b9b12ec7d170691c2cb05970d6537633fa71 (patch)
tree8ffccf27d6b67825a0067cc3a3b1aa61d8a310a5 /src/fenv/fesetexceptflag.c
parentb2a8c069960b333c3cded9e0d68d9addee67f6fd (diff)
update standard and safety checks
Diffstat (limited to 'src/fenv/fesetexceptflag.c')
-rw-r--r--src/fenv/fesetexceptflag.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/fenv/fesetexceptflag.c b/src/fenv/fesetexceptflag.c
index ee5eccb4..d40c7d8c 100644
--- a/src/fenv/fesetexceptflag.c
+++ b/src/fenv/fesetexceptflag.c
@@ -1,26 +1,23 @@
-#if 0
-
#include <fenv.h>
+#include "_safety.h"
int fesetexceptflag(const fexcept_t *flagp, int excepts)
{
+ SIGNAL_SAFE(0);
(void)flagp; (void)excepts;
return 0;
}
-/*d
+/*
The fesetexceptflag function sets the floating-point status flags indicated by the
argument excepts to the states stored in the object pointed to by flagp. The value of
*flagp shall have been set by a previous call to fegetexceptflag whose second
argument represented at least those floating-point exceptions represented by the argument
excepts. This function does not raise floating-point exceptions, but only sets the state
of the flags.
-d*/
+*/
/*
STDC(199901)
LINK(m)
*/
-
-
-#endif