xref: /original-bsd/lib/libcurses/putchar.c (revision f4a18198)
1 /*
2  * Copyright (c) 1981, 1993, 1994
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[] = "@(#)putchar.c	8.2 (Berkeley) 05/04/94";
10 #endif	/* not lint */
11 
12 #include "curses.h"
13 
14 void
15 __cputchar(ch)
16 	int ch;
17 {
18 
19 #ifdef DEBUG
20 	__CTRACE("__cputchar: %s\n", unctrl(ch));
21 #endif
22 	(void)putchar(ch);
23 }
24