fix buffer overrun in getgrent code when there are no group members
[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);