int werase(WINDOW *win);
int wclear(WINDOW *win);
int wclrtobot(WINDOW *win);
int wclrtoeol(WINDOW *win);
Blanks created by erasure have the current background rendition (as set by
All routines return the integer OK. The SVr4.0 manual
says "or a non-negative integer if
These functions are described in the XSI Curses standard, Issue 4. The standard specifies that they return ERR on failure, but specifies no error conditions.
Some historic curses implementations had, as an undocumented feature, the ability to do the equivalent of clearok(..., 1) by saying touchwin(stdscr) or clear(stdscr). This will not work under ncurses.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.