echochar(3X) echochar(3X)
NAME
echochar, wechochar - echo single-byte character and rendition to a
window and refresh
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#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.
NOTES
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.
SEE ALSO
addch(3X), curses(3X), doupdate(3X), echowchar(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98