ack/lang/cem/libcc.ansi/stdio/feof.c

15 lines
168 B
C
Raw Normal View History

1989-05-30 13:34:25 +00:00
/*
* feof.c - test if eof on a stream occurred
*/
/* $Header$ */
#include <stdio.h>
#undef feof
int
feof(FILE *stream)
{
return (stream->_flags & _IOEOF) != 0;
}