Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsdelwin(3XCURSES)


NAME

 delwin - delete a window

SYNOPSIS

 
#include <curses.h>
int delwin(WINDOW *win);

DESCRIPTION

 

The delwin() function deletes the specified window, freeing up the memory associated with it.

Deleting a parent window without deleting its subwindows and then trying to manipulate the subwindows will have undefined results.

PARAMETERS

 
win
Is a pointer to the window that is to be deleted.

RETURN VALUES

 

On success, this functions returns OK. Otherwise, it returns ERR.

ERRORS

 

None.

SEE ALSO

 

derwin(3XCURSES), dupwin(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.