5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
12 #include <_PDCLIB_io.h>
14 int feof_unlocked( FILE * stream )
16 return stream->status & _PDCLIB_EOFFLAG;
19 int feof( FILE * stream )
22 int eof = feof_unlocked( stream );
23 funlockfile( stream );
30 #include <_PDCLIB_test.h>
34 /* Testing covered by clearerr(). */