The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


delwin - delete a window


#include <curses.h>

int delwin(WINDOW *win);


The delwin() function deletes win, freeing all memory associated with it. The application must delete subwindows before deleting the main window.


Upon successful completion, delwin() returns OK. Otherwise, it returns ERR.


No errors are defined.


derwin(), dupwin(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]