Commit | Line | Data |
---|---|---|
6e1c93d0 | 1 | /* |
2f14f200 KB |
2 | * Copyright (c) 1981 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
f1855e9f | 5 | * %sccs.include.redist.c% |
6e1c93d0 DF |
6 | */ |
7 | ||
8 | #ifndef lint | |
f1855e9f | 9 | static char sccsid[] = "@(#)addch.c 5.5 (Berkeley) %G%"; |
2f14f200 | 10 | #endif /* not lint */ |
6e1c93d0 | 11 | |
8b28dacd KA |
12 | # include "curses.ext" |
13 | ||
14 | /* | |
15 | * This routine adds the character to the current position | |
16 | * | |
8b28dacd KA |
17 | */ |
18 | waddch(win, c) | |
b500698c | 19 | WINDOW *win; |
8b28dacd KA |
20 | char c; |
21 | { | |
b500698c | 22 | return waddbytes(win, &c, 1); |
60d72089 | 23 | } |