summaryrefslogtreecommitdiff
path: root/src/fenv/feholdexcept.c
blob: 73ff1fad384db91937fa819bdeba5ce6f78ff836 (plain)
1
2
3
4
5
6
7
8
#include <fenv.h>

int feholdexcept(fenv_t *envp)
{
	fegetenv(envp);
	feclearexcept(FE_ALL_EXCEPT);
	return 0;
}