HP 3000 Manuals

clearok [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

clearok 

The clearok routine is used to clear and redraw the window with the next
refresh.

Syntax 

     #include <curses.h>

     int clearok(WINDOW *win, bool bf);

Parameters 

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

bf                    A Boolean expression.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

If bf is TRUE, clearok() clears and redraws the entire screen on the next
call to wrefresh().  If win is curscr, the next call to wrefresh() for
any window clears and redraws the screen.

Implementation Considerations 

Identical to XPG/3

See Also 

wbkgdset(), wclear(), werase(), wrefresh()

Portability 

HP-UX, UNIX System V, XPG/3



MPE/iX 5.0 Documentation