source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/stdio/getw.c
Last change on this file was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 115 bytes |
Rev | Line | |
---|---|---|
[352] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.