projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove useless null check before call to free in fclose
[oweals/musl.git]
/
src
/
stdio
/
getw.c
1
#define _GNU_SOURCE
2
#include <stdio.h>
3
4
int getw(FILE *f)
5
{
6
int x;
7
return fread(&x, sizeof x, 1, f) ? x : EOF;
8
}