fix broken semctl on systems that don't use IPC_64 flag
[oweals/musl.git] / 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);