delwin

Deletes the specified window from memory.

Format

#include  <curses.h>

int delwin  (WINDOW *win);

Argument

win
A pointer to the window.

Description

If the window being deleted contains a subwindow, the subwindow is invalidated. Delete subwindows before deleting their parent. The delwin function refreshes all windows covered by the deleted window.

Return Values
OK  Indicates success. 
ERR  Indicates an error. 


Previous Page | Next Page | Table of Contents | Index