summaryrefslogtreecommitdiff
path: root/src/fenv/fetestexceptflag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/fetestexceptflag.h')
-rw-r--r--src/fenv/fetestexceptflag.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/fenv/fetestexceptflag.h b/src/fenv/fetestexceptflag.h
new file mode 100644
index 000000000000..1c8b0b843f54
--- /dev/null
+++ b/src/fenv/fetestexceptflag.h
@@ -0,0 +1,20 @@
+//===-- Implementation header for fetestexceptflag --------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_FENV_FETESTEXCEPTFLAG_H
+#define LLVM_LIBC_SRC_FENV_FETESTEXCEPTFLAG_H
+
+#include "hdr/types/fexcept_t.h"
+
+namespace LIBC_NAMESPACE {
+
+int fetestexceptflag(const fexcept_t *, int excepts);
+
+} // namespace LIBC_NAMESPACE
+
+#endif // LLVM_LIBC_SRC_FENV_FETESTEXCEPTFLAG_H