The delwin routine is used to delete a window.
Syntax | 
  | 
   #include <curses.h>
   int delwin(WINDOW *win);
  | 
Parameters | 
  | 
- win
 A pointer to the window that is to be deleted.
Return Values | 
  | 
- OK
    Successful completion.
- ERR
   An error occurred.
Implementation Considerations | 
  | 
Identical to XPG/3
See Also | 
  | 
newwin(), subwin(), derwin()
Portability | 
  | 
HP-UX, UNIX System V, XPG/3