NAME
echochar, wechochar — echo single-byte character and rendition to a window and refresh
SYNOPSIS
#include <curses.h>
int echochar(const chtype ch);
int wechochar(WINDOW *win, const chtype ch);
DESCRIPTION
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().
RETURN VALUE
Upon successful completion, these functions return OK.
Otherwise they return ERR.
ERRORS
No errors are defined.
APPLICATION USAGE
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.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.