aboutsummaryrefslogtreecommitdiff
path: root/src/fenv/fegetexceptflag.c
blob: 2df78e7c89283a9c69d567841a25b79708bd1197 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <fenv.h>

int fegetexceptflag(fexcept_t *fp, int mask)
{
	*fp = fetestexcept(mask);
	return 0;
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif