Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clearok(3) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

refresh(3)

clearok(3)  —  Subroutines

NAME

clearok − Enables screen clearing

SYNOPSIS

#include <curses.h>
 
int clearok(win, bf)
    WINDOW ∗win;
    bool bf;

DESCRIPTION

If bf is TRUE, the next call to refresh(3) for the specified window will clear the window completely and redraw the entire window without changing the original screen’s contents.  This is useful when the contents of the screen are uncertain.  If the window is stdscr, the entire screen is redrawn. 

RETURN VALUES

The clearok function returns OK on success and ERR on error. 

RELATED INFORMATION

refresh(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026