redrawwin(3X) redrawwin(3X)
NAME
redrawwin, wredrawln - line update status functions
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int redrawwin(WINDOW *win);
int wredrawln(WINDOW *win, int begline, int numlines);
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 numlines lines start-
ing at line number begline. The functions prevent the next refresh
operation on that window from performing any optimisation 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.
NOTES
The redrawwin() and wredrawln() functions could be used in a text edi-
tor to implement a command that redraws some or all of the screen.
SEE ALSO
clearok(3X), curses(3X), doupdate(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98