Moving libc from its separate repo into this one, minor resulting build fixes, and a hacky way to add -I for libc headers in builds.
13 lines
269 B
C
13 lines
269 B
C
/* feof( FILE * )
|
|
|
|
This file is part of the Public Domain C Library (PDCLib).
|
|
Permission is granted to use, modify, and / or redistribute at will.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
int feof( struct _PDCLIB_file_t * stream )
|
|
{
|
|
return stream->status & _PDCLIB_EOFFLAG;
|
|
}
|