repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix return value of ungetc when argument is outside unsigned char range
[musl.git]
/
src
/
fenv
/
fesetexceptflag.c
blob
af5f102d22313fa00da2c7b3d67b68548c8dbb28
1
#include <fenv.h>
2
3
int
fesetexceptflag
(
const
fexcept_t
*
fp
,
int
mask
)
4
{
5
feclearexcept
(~*
fp
&
mask
);
6
feraiseexcept
(*
fp
&
mask
);
7
return
0
;
8
}