Files
Arquivotheca.SunOS-4.1.3/lib/libc/stdio/common/getc.c
seta75D 2e8a93c394 Init
2021-10-11 18:20:23 -03:00

17 lines
280 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)getc.c 1.1 92/07/30 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));
}