summaryrefslogtreecommitdiff
path: root/src/stdio/fileno.c
blob: 9ffb26d54d17754bc6b5bac465281a87a338564f (plain) (blame)
1
2
3
4
5
6
7
8
#include "stdio_impl.h"

int fileno(FILE *f)
{
	return f->fd;
}

weak_alias(fileno, fileno_unlocked);