summaryrefslogblamecommitdiff
path: root/src/fenv/fegetexceptflag.c
blob: bab0b44fbe1621aebb0600b20d547301cb85e1fb (plain) (tree)
1
2
3
4
5
6
7






                                            
#include <fenv.h>

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