1*46091Sbostic /*- 2*46091Sbostic * Copyright (c) 1990 The Regents of the University of California. 3*46091Sbostic * All rights reserved. 4*46091Sbostic * 5*46091Sbostic * This code is derived from software contributed to Berkeley by 6*46091Sbostic * Chris Torek. 7*46091Sbostic * 8*46091Sbostic * %sccs.include.redist.c% 9*46091Sbostic */ 10*46091Sbostic 1126656Sdonn #if defined(LIBC_SCCS) && !defined(lint) 12*46091Sbostic static char sccsid[] = "@(#)getchar.c 5.3 (Berkeley) 01/20/91"; 13*46091Sbostic #endif /* LIBC_SCCS and not lint */ 1422136Smckusick 152013Swnj /* 162013Swnj * A subroutine version of the macro getchar. 172013Swnj */ 182013Swnj #include <stdio.h> 192013Swnj 202013Swnj #undef getchar 212013Swnj 222013Swnj getchar() 232013Swnj { 24*46091Sbostic return (getc(stdin)); 252013Swnj } 26