Files
Arquivotheca.SunOS-4.1.4/lib/libc/stdio/common/ferror.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

17 lines
265 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)ferror.c 1.1 94/10/31 SMI";
#endif
/*LINTLIBRARY*/
#include <stdio.h>
#undef ferror
#define __ferror__(p) (((p)->_flag&_IOERR)!=0)
int
ferror(fp)
register FILE *fp;
{
return (__ferror__(fp));
}