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 _PDCLIB_feof_unlocked( FILE * stream )
16 return stream->status & _PDCLIB_EOFFLAG;
19 int feof( FILE * stream )
21 _PDCLIB_flockfile( stream );
22 int eof = _PDCLIB_feof_unlocked( stream );
23 _PDCLIB_funlockfile( stream );
30 #include <_PDCLIB_test.h>
34 /* Testing covered by clearerr(). */