Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
stdio
/
putw.c
blob: 0ff9d7fbffb98a5d5919a3e8658678095674a3b7 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdio.h>
int
putw
(
int
x
,
FILE
*
f
)
{
return
(
int
)
fwrite
(&
x
,
sizeof
x
,
1
,
f
)-
1
;
}