xref: /csrg-svn/lib/libc/stdio/getchar.c (revision 22136)
1*22136Smckusick #ifndef lint
2*22136Smckusick static char sccsid[] = "@(#)getchar.c	5.1 (Berkeley) 06/05/85";
3*22136Smckusick #endif not lint
4*22136Smckusick 
52013Swnj /*
62013Swnj  * A subroutine version of the macro getchar.
72013Swnj  */
82013Swnj #include <stdio.h>
92013Swnj 
102013Swnj #undef getchar
112013Swnj 
122013Swnj getchar()
132013Swnj {
142013Swnj 	return(getc(stdin));
152013Swnj }
16