fix over-read in %ls with non-wide scanf
[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);