Commit | Line | Data |
---|---|---|
b6f0a7e4 DF |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
e9fb6bea KB |
3 | * All rights reserved. |
4 | * | |
5 | * Redistribution and use in source and binary forms are permitted | |
6 | * provided that this notice is preserved and that due credit is given | |
7 | * to the University of California at Berkeley. The name of the University | |
8 | * may not be used to endorse or promote products derived from this | |
9 | * software without specific prior written permission. This software | |
10 | * is provided ``as is'' without express or implied warranty. | |
b6f0a7e4 DF |
11 | */ |
12 | ||
07d9f212 | 13 | #ifndef lint |
e9fb6bea KB |
14 | static char sccsid[] = "@(#)cgetc.c 5.2 (Berkeley) %G%"; |
15 | #endif /* not lint */ | |
07d9f212 KL |
16 | |
17 | # include <stdio.h> | |
18 | ||
19 | char cgetc(i) | |
20 | int i; | |
21 | { | |
22 | return ( getchar() ); | |
23 | } |