projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Add copyright
[unix-history]
/
usr
/
src
/
lib
/
libc
/
stdio
/
getchar.c
Commit
Line
Data
b8f253e8
KM
1
#ifndef lint
2
static char sccsid[] = "@(#)getchar.c 5.1 (Berkeley) %G%";
3
#endif not lint
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
}