Init
This commit is contained in:
16
lib/libc/stdio/common/feof.c
Normal file
16
lib/libc/stdio/common/feof.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#if !defined(lint) && defined(SCCSIDS)
|
||||
static char sccsid[] = "@(#)feof.c 1.1 94/10/31 SMI";
|
||||
#endif
|
||||
|
||||
/*LINTLIBRARY*/
|
||||
#include <stdio.h>
|
||||
|
||||
#undef feof
|
||||
#define __feof__(p) (((p)->_flag&_IOEOF)!=0)
|
||||
|
||||
int
|
||||
feof(fp)
|
||||
register FILE *fp;
|
||||
{
|
||||
return (__feof__(fp));
|
||||
}
|
||||
Reference in New Issue
Block a user