HP 3000 Manuals

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


MPE/iX Developer's Kit Reference Manual Volume II

erase, werase 

The erase and werase routines are used to erase a window.

Syntax 

     #include <curses.h>

     int erase();
     int werase(WINDOW *win);

Parameters 

win                   A pointer to the window that you want to erase.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The erase() routine erases the contents of the stdscr window, destroying
its previous contents.  The werase() routine performs the same action,
but erases the content of win instead of stdscr.  The current background
character (and attributes) is used to erase the screen.


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


MPE/iX 5.0 Documentation