3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
10 #include <_PDCLIB_io.h>
12 int _PDCLIB_feof_unlocked( FILE * stream )
14 return stream->status & _PDCLIB_EOFFLAG;
17 int feof( FILE * stream )
19 _PDCLIB_flockfile( stream );
20 int eof = _PDCLIB_feof_unlocked( stream );
21 _PDCLIB_funlockfile( stream );
28 #include <_PDCLIB_test.h>
32 /* Testing covered by clearerr(). */