xref: /original-bsd/games/trek/cgetc.c (revision 04dd0305)
1 /*
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)cgetc.c	8.1 (Berkeley) 05/31/93";
10 #endif /* not lint */
11 
12 # include	<stdio.h>
13 
14 char	cgetc(i)
15 int	i;
16 {
17 	return ( getchar() );
18 }
19