about summary refs log tree commit diff
path: root/src/fenv/feholdexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/feholdexcept.c')
-rw-r--r--src/fenv/feholdexcept.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c
new file mode 100644
index 00000000..4c6da239
--- /dev/null
+++ b/src/fenv/feholdexcept.c
@@ -0,0 +1,7 @@
+#include <fenv.h>
+
+int feholdexcept(fenv_t *envp)
+{
+	fegetenv(envp);
+	return 0;
+}