summaryrefslogtreecommitdiff
path: root/src/fenv/fegetexceptflag.c
blob: 921dc1b8c4a29f47ca2e94a5e3c577b670fa87a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <fenv.h>
#include "_fenv.h"

int fegetexceptflag(fexcept_t *flagp, int excepts)
{
	SIGNAL_SAFE(0);
	ASSERT_VALID_EXCEPTION_MASK(excepts);
	(void)flagp; (void)excepts;
	return 0;
}

CHECK_2(int, 0, fegetexceptflag, fexcept_t *, int)

/*
The fegetexceptflag function stores an implementation-defined representation of
the states of the floating-point status flags indicated by the argument excepts in the
object pointed to by the argument flagp.
*/

/*
STDC(199901)
LINK(m)
*/