146091Sbostic /*- 2*61180Sbostic * Copyright (c) 1990, 1993 3*61180Sbostic * The Regents of the University of California. All rights reserved. 446091Sbostic * 546091Sbostic * This code is derived from software contributed to Berkeley by 646091Sbostic * Chris Torek. 746091Sbostic * 846091Sbostic * %sccs.include.redist.c% 946091Sbostic */ 1046091Sbostic 1126656Sdonn #if defined(LIBC_SCCS) && !defined(lint) 12*61180Sbostic static char sccsid[] = "@(#)getchar.c 8.1 (Berkeley) 06/04/93"; 1346091Sbostic #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 getchar()222013Swnjgetchar() 232013Swnj { 2446091Sbostic return (getc(stdin)); 252013Swnj } 26