HP 3000 Manuals

clear, wclear [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

clear, wclear 

The clear and wclear routines are used to clear the window.

Syntax 

     #include <curses.h>

     int clear();
     int wclear(WINDOW *win);

Parameters 

win                   A pointer to the window that is to be cleared.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The clear() routine clears stdscr, destroying its previous contents.  The
wclear() routine performs the same action, but clears the window
specified by win instead of stdscr.  These routines are similar to
erase() and werase() except they also call clearok().  The clearok()
routine clears and redraws the entire screen on the next call to
wrefresh() for the window.

The current background character (and attributes) is used to clear the
screen.


NOTE The clear() routine is a macro.
Implementation Considerations Identical to XPG/3 See Also clearok(), wbkgdset(), wclrtobot(), wclrtoeol(), werase() Portability HP-UX, UNIX System V, XPG/3


MPE/iX 5.0 Documentation