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
riscv32: add dlsym
[musl.git]
/
src
/
stdio
/
rewind.c
blob
6f4b58b5468900cab60ca6e28c494ac2eea1c645
1
#include
"stdio_impl.h"
2
3
void
rewind
(
FILE
*
f
)
4
{
5
FLOCK
(
f
);
6
__fseeko_unlocked
(
f
,
0
,
SEEK_SET
);
7
f
->
flags
&= ~
F_ERR
;
8
FUNLOCK
(
f
);
9
}