Echos single-byte character and rendition to a window and refreshes the window.
Curses Library (libcurses.a)
#include <curses.h>
int echochar(const chtype ch);
int wechochar(WINDOW *win, const chtype ch);
The echochar subroutine is equivalent to a call to the addch soubroutine followed by a call to the refresh subroutine.
The wechochar subroutine is equivalent to a call to the waddch subroutine followed by a call to the wrefresh subroutine.
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
To output the character I to the stdscr at the present cursor location and to update the physical screen, do the following:
echochar('I');
The addch, doupdate, echo_wchar, waddch, wmvaddch, and mvaddch (addch, mvaddch, mvwaddch, or waddch Subroutine) subroutines.
Curses Overview for Programming and List of Curses Subroutines in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
Manipulating Characters with Curses in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.