mirror of
https://github.com/fluencelabs/musl
synced 2025-06-25 04:31:56 +00:00
initial check-in, version 0.5.0
This commit is contained in:
7
src/stdio/getw.c
Normal file
7
src/stdio/getw.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int getw(FILE *f)
|
||||
{
|
||||
int x;
|
||||
return fread(&x, sizeof x, 1, f) ? x : EOF;
|
||||
}
|
Reference in New Issue
Block a user