blob: f8478d039f6652d3240725ec285d8fd8968e1d90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "stddef.h" // for NULL
#include <libc.h> // for __IMPL
#include <stdio.h> // for FILE, feof
int feof(FILE *stream)
{
if (stream == NULL)
return 0;
return __IMPL(stream)->eof;
}
|