Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
stdio
/
rewind.c
blob: 6f4b58b5468900cab60ca6e28c494ac2eea1c645 [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
void
rewind
(
FILE
*
f
)
{
FLOCK
(
f
);
__fseeko_unlocked
(
f
,
0
,
SEEK_SET
);
f
->
flags
&=
~
F_ERR
;
FUNLOCK
(
f
);
}