about summary refs log tree commit diff
path: root/src/stdio/feof.c
blob: 56da6b917c0af7913ec18f51288eccef822d763c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "stdio_impl.h"

#undef feof

int feof(FILE *f)
{
	FLOCK(f);
	int ret = !!(f->flags & F_EOF);
	FUNLOCK(f);
	return ret;
}

weak_alias(feof, feof_unlocked);
weak_alias(feof, _IO_feof_unlocked);