Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
stdio
/
getw.c
blob: f45f239c41a37c305a7c1a5c445ce6601a2bd408 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdio.h>
int
getw
(
FILE
*
f
)
{
int
x
;
return
fread
(&
x
,
sizeof
x
,
1
,
f
)
?
x
:
EOF
;
}