1: #if defined(LIBC_SCCS) && !defined(lint) 2: static char sccsid[] = "@(#)getchar.c 5.2 (Berkeley) 3/9/86"; 3: #endif LIBC_SCCS and not lint 4: 5: /* 6: * A subroutine version of the macro getchar. 7: */ 8: #define USE_STDIO_MACROS 9: #include <stdio.h> 10: 11: #undef getchar 12: 13: getchar() 14: { 15: return(getc(stdin)); 16: }