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