pechochar(3X) pechochar(3X)
NAME
pechochar, pechowchar - write a character and rendition and immedi-
ately refresh the pad
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int pechochar(WINDOW *pad, chtype ch);
int pechowchar(WINDOW *pad, const cchart *wch);
DESCRIPTION
The pechochar() and pechowchar() functions output one character to a
pad and immediately refresh the pad. They are equivalent to a call to
waddch() or waddwch(), respectively, followed by a call to
prefresh(). The last location of the pad on the screen is reused for
the arguments to prefresh().
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they
return ERR.
ERRORS
No errors are defined.
NOTES
The pechochar() function is 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
curses(3X), echochar(3X), echochar(3X), newpad(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98