xref: /csrg-svn/lib/libc/stdio/getchar.c (revision 22136)
1 #ifndef lint
2 static char sccsid[] = "@(#)getchar.c	5.1 (Berkeley) 06/05/85";
3 #endif not lint
4 
5 /*
6  * A subroutine version of the macro getchar.
7  */
8 #include <stdio.h>
9 
10 #undef getchar
11 
12 getchar()
13 {
14 	return(getc(stdin));
15 }
16