#include <curses.h>
The echochar() function produces the same effect as calling addch(3XCURSES) and then refresh(3XCURSES). The wechochar() function produces the same effect as calling waddch(3XCURSES) and then wrefresh(3XCURSES).
On success, these functions return OK. Otherwise, they return ERR.
None.
addch(3XCURSES), doupdate(3XCURSES), echo_wchar(3XCURSES)