summaryrefslogtreecommitdiff
path: root/src/fenv/feclearexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/feclearexcept.c')
-rw-r--r--src/fenv/feclearexcept.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/fenv/feclearexcept.c b/src/fenv/feclearexcept.c
index ca16cf3a..cf09adcd 100644
--- a/src/fenv/feclearexcept.c
+++ b/src/fenv/feclearexcept.c
@@ -1,21 +1,18 @@
-#if 0
-
#include <fenv.h>
+#include "_safety.h"
int feclearexcept(int excepts)
{
+ SIGNAL_SAFE(0);
return excepts;
}
-/*d
+/*
The feclearexcept function clears the supported floating-point exceptions
represented by its argument.
-d*/
+*/
/*
STDC(199901)
LINK(m)
*/
-
-
-#endif