overwrite

Destructively writes the contents of win1 on win2.

Format

#include  <curses.h>

int overwrite  (WINDOW *win1, WINDOW *win2);

Arguments

win1
A pointer to the window.
win2
A pointer to the window.

Description

This function writes the contents of win1 that will fit onto win2 beginning at the starting coordinates of both windows. Blanks on win1 are written on win2 as blanks. This function copies as much of a window's box as possible.

Return Values
OK  Indicates success. 
ERR  Indicates failure. 


Previous Page | Next Page | Table of Contents | Index