HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
r
redrawwin(3X) redrawwin(3X)
(ENHANCED CURSES)
NAME
redrawwin, wredrawln — line update status functions
SYNOPSIS
#include <curses.h>
int redrawwin(WINDOW *win);
int wredrawln(WINDOW *win, int beg_line, int num_lines);
DESCRIPTION
The redrawwin() and wredrawln() functions inform the implementation that some or all of the
information physically displayed for the specified window may have been corrupted. The redrawwin()
function marks the entire window; wredrawln() marks only num_lines lines starting at line number
beg_line. The functions prevent the next refresh operation on that window from performing any optimisa-
tion based on assumptions about what is physically displayed there.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise they return ERR.
ERRORS
No errors are defined.
APPLICATION USAGE
The redrawwin() and wredrawln() functions could be used in a text editor to implement a command
that redraws some or all of the screen.
SEE ALSO
clearok(3X), doupdate(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Section 3752 1 HP-UX Release 11i: December 2000
___
___