DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

delwin(CURSES)


delwin -- delete a window

Synopsis

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

int delwin(WINDOW *win);

Description

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

Errors

No errors are defined.

Standards Conformance

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

References

derwin(CURSES), dupwin(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005