overlay(3cur)overlay(3cur)Name
overlay, overwrite - overlay windows
Syntax
#include <cursesX.h>
int overlay(srcwin, dstwin)
WINDOW ∗srcwin, ∗dstwin;
int overwrite(srcwin, dstwin)
WINDOW ∗srcwin, ∗dstwin;
Description
The routine copies all the text from the source window on top of the
destination window The two windows are not required to be the same
size. The copy starts at (0, 0) on both windows. The copy is non-
destructive, so blanks are not copied.
The routine copies all of on top of The copy starts at (0, 0) on both
windows. This is a destructive copy as blanks are copied.
Return Values
The and functions return OK on success and ERR on error.
overlay(3cur)