Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d1d141c5f128d2ea6efa0e5aad25c3f8af41cadc
/
.
/
src
/
stdio
/
clearerr.c
blob: 3bf94d30795d76d9d408000ac3f911f16090437f [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
void
clearerr
(
FILE
*
f
)
{
FLOCK
(
f
);
f
->
flags
&=
~(
F_EOF
|
F_ERR
);
FUNLOCK
(
f
);
}
weak_alias
(
clearerr
,
clearerr_unlocked
);