loongarch64: add new syscall numbers
[musl.git] / src / stdio / getw.c
blob73d2c0d5c6c0914322903e0c30e3f93c0f9336cc
1 #define _GNU_SOURCE
2 #include <stdio.h>
4 int getw(FILE *f)
6 int x;
7 return fread(&x, sizeof x, 1, f) ? x : EOF;