fix getc - the classic error of trying to store EOF+0-255 in a char type..
[musl] / src / stdio / fileno.c
1 #include "stdio_impl.h"
2
3 int fileno(FILE *f)
4 {
5         return f->fd;
6 }
7
8 weak_alias(fileno, fileno_unlocked);