Commit | Line | Data |
---|---|---|
2ce81398 DS |
1 | #if defined(LIBC_SCCS) && !defined(lint) |
2 | static char sccsid[] = "@(#)getchar.c 5.2 (Berkeley) %G%"; | |
3 | #endif LIBC_SCCS and not lint | |
b8f253e8 | 4 | |
87c0b666 BJ |
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 | } |