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 unsynchronized access to FILE structure in fflush(0)
[musl.git]
/
src
/
stdio
/
scanf.c
blob
a740056cc9c92c4219dadc2fccbf8665529f12ef
1
#include <stdio.h>
2
#include <stdarg.h>
3
#include
"libc.h"
4
5
int
scanf
(
const char
*
restrict fmt
, ...)
6
{
7
int
ret
;
8
va_list
ap
;
9
va_start
(
ap
,
fmt
);
10
ret
=
vscanf
(
fmt
,
ap
);
11
va_end
(
ap
);
12
return
ret
;
13
}
14
15
weak_alias
(
scanf
,
__isoc99_scanf
);