int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow,
int smincol, int dminrow, int dmincol, int dmaxrow,
int dmaxcol, int overlay);
Description
The
copywin(CURSES)
function provides a finer granularity of control over the
overlay(CURSES)
and
overwrite(CURSES)
functions. As in the
prefresh(CURSES)
function, a rectangle is specified in the destination window, (dminrow,
dmincol) and (dmaxrow, dmaxcol), and the upper-left-corner
coordinates of the source window, (sminrow, smincol).
If overlay is TRUE, then copying is non-destructive, as in
overlay(CURSES).
If overlay is FALSE, then copying is destructive, as in
overwrite(CURSES).
Return value
Upon successful completion,
copywin(CURSES)
returns OK. Otherwise, it returns ERR.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.