delwin(3curses)


delwin -- delete a window

Synopsis

cc [options] file -lcurses
#include <curses.h>

int delwin(WINDOW *win);

Description

The delwin(3curses) 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(3curses) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

derwin(3curses), dupwin(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004