|
|
1.1 root 1: /*
2: * libc/stdio/getchar.c
3: * ANSI-compliant C standard i/o library.
4: * getchar()
5: * ANSI 4.9.7.6.
6: * Get character from stdin.
7: */
8:
9: #include <stdio.h>
10: #undef getchar
11:
12: int
13: getchar()
14: {
15: return getc(stdin);
16: }
17:
18: /* end of libc/stdio/getchar.c */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.