redrawwin, wredrawln — line update status functions
int redrawwin(WINDOW *win);
int wredrawln(WINDOW *win, int beg_line, int num_lines);
functions inform the implementation that some or all of the information
physically displayed for the specified window may have been corrupted. The
function marks the entire window;
marks only num_lines lines starting at line number beg_line. The
functions prevent the next refresh operation on that window from
performing any optimisation based on assumptions about what is physically
Upon successful completion, these functions return OK.
Otherwise they return ERR.
No errors are defined.
functions could be used in a text editor to implement a command that redraws
some or all of the screen.
First released in X/Open Curses, Issue 4.