Deletes a window.
Curses Library (libcurses.a)
#include <curses.h>
int delwin(WINDOW *win);
The delwin subroutine deletes win, freeing all memory associated with it. The application must delete subwindows before deleting the main window.
*win | Specifies the window to delete. |
Upon successful completion, the delwin subroutine returns OK. Otherwise, it returns ERR.
To delete the user-defined window my_window and its subwindow my_sub_window, enter:
WINDOW *my_sub_window, *my_window; delwin(my_sub_window); delwin(my_window);
The derwin (derwin, newwin, or subwin Subroutine) subroutine.
Curses Overview for Programming in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
Manipulating Window Data with Curses in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.