echochar, wechochar - echo single-byte character and rendition to a window and refresh
#include <curses.h> int echochar(const chtype ch); int wechochar(WINDOW *win, const chtype ch);
The echochar() function is equivalent to a call to addch() followed by a call to refresh().
The wechochar() function is equivalent to a call to waddch() followed by a call to wrefresh().
Upon successful completion, these functions return OK. Otherwise they return ERR.
No errors are defined.
These functions are only guaranteed to operate reliably on character sets in which each character fits into a single byte, whose attributes can be expressed using only constants with the A_ prefix.
addch(), doupdate(), echo_wchar(), <curses.h>.