HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

clearok

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster