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

redrawwin wredrawln

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The redrawwin and wredrawln routines are used to redraw the screen or portion of the screen.

Syntax

   #include <curses.h>



   int redrawwin(WINDOW *win);

   int wredrawln(WINDOW *win, int beg_line, int num_lines);

Parameters

win

A pointer to the window in which to redraw.

beg_line

The first line to redraw.

num_lines

The number of lines to redraw.

Return Values

OK

Successful completion.

ERROR

An error occurred.

Description

The redrawwin() and wredrawln() routines force portions of a window to be redrawn to the terminal. These routines are useful when the data that exists on the screen is believed to be corrupt and for applications such as screen editors that redraw portions of the screen.

NOTE: The redrawwin() routine is a macro.

Implementation Considerations

UNIX System V implementation

Portability

UNIX System V

Feedback to webmaster