xref: /original-bsd/lib/libcurses/putchar.c (revision 7a8f01dc)
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.4 (Berkeley) 06/01/90";
10 #endif /* not lint */
11 
12 # include	"curses.ext"
13 
14 char
15 _putchar(c)
16 reg char	c; {
17 
18 	putchar(c);
19 #ifdef DEBUG
20 	fprintf(outf, "_PUTCHAR(%s)\n", unctrl(c));
21 #endif
22 }
23