Initial revision
This commit is contained in:
14
lang/cem/libcc.ansi/stdio/feof.c
Normal file
14
lang/cem/libcc.ansi/stdio/feof.c
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* feof.c - test if eof on a stream occurred
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#undef feof
|
||||
|
||||
int
|
||||
feof(FILE *stream)
|
||||
{
|
||||
return (stream->_flags & _IOEOF) != 0;
|
||||
}
|
||||
Reference in New Issue
Block a user