delwin(3) — Subroutines
Digital
NAME
delwin − delete window
SYNOPSIS
#include <curses.h>
int delwin(win)
WINDOW ∗win;
DESCRIPTION
The delwin routine deletes the named window, freeing all memory associated with it. Where windows overlap, subwindows should be deleted before the main window.
RETURN VALUES
The delwin function returns OK on success and ERR on error.