xref: /original-bsd/lib/libcurses/putchar.c (revision a043e977)
1 /*
2  * Copyright (c) 1981 Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)putchar.c	5.5 (Berkeley) 08/23/92";
10 #endif	/* not lint */
11 
12 #include <curses.h>
13 
14 void
15 __cputchar(ch)
16 	int ch;
17 {
18 
19 #ifdef DEBUG
20 	__TRACE("__cputchar: %s\n", unctrl(ch));
21 #endif
22 	(void)putchar(ch);
23 }
24