Sign in
cobalt
/
cobalt
/
f9bc0139df6e6eb149345ab9b6ffcc40603fc09f
/
.
/
third_party
/
musl
/
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
);
}