get rid of sibuf; requires change to user interface because of
[unix-history] / usr / src / games / trek / cgetc.c
CommitLineData
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
14static char sccsid[] = "@(#)cgetc.c 5.2 (Berkeley) %G%";
15#endif /* not lint */
07d9f212
KL
16
17# include <stdio.h>
18
19char cgetc(i)
20int i;
21{
22 return ( getchar() );
23}