xref: /original-bsd/lib/libcurses/putchar.c (revision c3e32dec)
1 /*
2  * Copyright (c) 1981, 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[] = "@(#)putchar.c	8.1 (Berkeley) 06/04/93";
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