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

17 lines
280 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)getc.c 1.1 94/10/31 SMI";
#endif
/*LINTLIBRARY*/
#include <stdio.h>
#undef getc
#define __getc__(p) (--(p)->_cnt>=0? ((int)*(p)->_ptr++):_filbuf(p))
int
getc(fp)
register FILE *fp;
{
return (__getc__(fp));
}