NAME
delwin — delete a window
SYNOPSIS
#include <curses.h>
int delwin(WINDOW *win);
DESCRIPTION
The
delwin()
function deletes win, freeing all memory associated with it.
The application must delete subwindows before deleting the main window.
RETURN VALUE
Upon successful completion,
delwin()
returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.