move msghdr and cmsghdr out of bits/socket.h
[musl.git] / src / stdio / putw.c
blob0ff9d7fbffb98a5d5919a3e8658678095674a3b7
1 #define _GNU_SOURCE
2 #include <stdio.h>
4 int putw(int x, FILE *f)
6 return (int)fwrite(&x, sizeof x, 1, f)-1;