|
X/Open Curses Library Functions | pechochar(3XCURSES) |
| pechochar, pecho_wchar - add character and refresh window |
SYNOPSIS
|
#include <curses.h> int pechochar(WINDOW *pad, chtype ch); |
| int pecho_wchar(WINDOW *pad, const chtype *wch); |
|
-
pad
- Is a pointer to the pad in which the character is to be added.
-
ch
- Is a pointer to the character to be written to the pad.
-
wch
- Is a pointer to the complex character to be written to the pad.
|
|
The pechochar() function is equivalent to calling waddch(3XCURSES)
followed by a call to prefresh(3XCURSES). The pecho_wchar() function is
equivalent to calling wadd_wch(3XCURSES) followed by a call to prefresh(). prefresh() reuses the last position of the pad on the screen for its parameters.
|
|
On success, these functions return OK. Otherwise, they return ERR.
|
| |