ack/lang/cem/libcc.ansi/stdio/feof.c
1989-05-30 13:34:25 +00:00

15 lines
168 B
C

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