HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
p
pechochar(3X) pechochar(3X)
(ENHANCED CURSES)
NAME
pechochar, pecho_wchar — write a character and rendition and immediately refresh the pad
SYNOPSIS
#include <curses.h>
int pechochar(WINDOW *pad, chtype ch);
int pecho_wchar(WINDOW *pad, const cchar_t *wch);
DESCRIPTION
The pechochar() and pecho_wchar() functions output one character to a pad and immediately
refresh the pad. They are equivalent to a call to waddch() or wadd_wch(), 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.
APPLICATION USAGE
The pechochar() function is only guaranteed to operate reliably on character sets in which each charac-
ter fits into a single byte, whose attributes can be expressed using only constants with the A_ prefix.
SEE ALSO
echochar(3X), newpad(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX Release 11i: December 2000 − 1 − Section 3−−611
___
___