Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
b39b47bac8ee5505cfc595000a140c35460e1cac
/
.
/
src
/
stdio
/
getw.c
blob: 73d2c0d5c6c0914322903e0c30e3f93c0f9336cc [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdio.h>
int
getw
(
FILE
*
f
)
{
int
x
;
return
fread
(&
x
,
sizeof
x
,
1
,
f
)
?
x
:
EOF
;
}